Skip to content

Commit

Permalink
ci: add latest Go version and add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
xballoy committed Oct 1, 2024
1 parent cd288eb commit b9ba444
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
strategy:
matrix:
go-version: [ '1.17', '1.18', '1.19', '1.20', '1.21']
go-version: [ '1.17', '1.18', '1.19', '1.20', '1.21', '1.22', '1.23']
os: [ ubuntu-22.04, macos-12, windows-2022 ]

runs-on: ${{ matrix.os }}
Expand All @@ -23,6 +23,9 @@ jobs:
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Enforce standard format
Expand Down

0 comments on commit b9ba444

Please sign in to comment.