diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/main.yml | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2b0524e..ebf8493 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,29 +7,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [1.18.x] + go-version: [1.24.x] steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} id: go - - name: Set up Go modules cache - uses: actions/cache@v2 - env: - cache-name: cache-go-modules - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go${{ matrix.go-version }}-build-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go${{ matrix.go-version }}-build-${{ env.cache-name }}- - ${{ runner.os }}-go${{ matrix.go-version }}-build- - ${{ runner.os }}-go${{ matrix.go-version }}- - - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 |
