diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2023-03-18 15:32:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 14:32:31 +0100 |
commit | faf565e222e2a7d704cf0e6ad8f2f62ba977ed21 (patch) | |
tree | c92c7e44a32188a05cc633c932fde2fa2f1335f0 /.github | |
parent | Update dependencies (diff) | |
download | fasthttp-faf565e222e2a7d704cf0e6ad8f2f62ba977ed21.tar.gz fasthttp-faf565e222e2a7d704cf0e6ad8f2f62ba977ed21.tar.bz2 fasthttp-faf565e222e2a7d704cf0e6ad8f2f62ba977ed21.zip |
GitHub actions/setup-go@v4 (#1520)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 2 | ||||
-rw-r--r-- | .github/workflows/test.yml | 16 |
2 files changed, 2 insertions, 16 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 607432a..91e742c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: 1.20.x - run: go version diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a731c51..c5d29b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,24 +13,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - - name: Get Go cache paths - id: go-env - run: | - echo "::set-output name=cache::$(go env GOCACHE)" - echo "::set-output name=modcache::$(go env GOMODCACHE)" - - name: Set up Go cache - uses: actions/cache@v3 - with: - key: golangci-lint-${{ runner.os }}-go-${{ hashFiles('go.mod') }} - restore-keys: golangci-lint-${{ runner.os }}-go- - path: | - ${{ steps.go-env.outputs.cache }} - ${{ steps.go-env.outputs.modcache }} - - run: go version - run: go test ./... - run: go test -race ./... |