chore: update action

This commit is contained in:
Kevin Franklin Kim 2022-09-12 08:32:51 +02:00
parent 5976442d61
commit ae48cdee2f

View File

@ -11,8 +11,8 @@ on:
workflow_dispatch:
env:
GO_VERSION: 1.19
GOLANGCI_LINT_VERSION: v1.48
GOFLAGS: -mod=readonly
GOPROXY: https://proxy.golang.org
jobs:
matrix:
@ -41,25 +41,17 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: golangci/golangci-lint-action@v3.2.0
go-version-file: 'go.mod'
- uses: golangci/golangci-lint-action@v3
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
working-directory: ${{ matrix.gomod }}
test:
name: test
needs: matrix
runs-on: ubuntu-latest
strategy:
matrix:
gomod: ${{ fromJson(needs.matrix.outputs.gomod) }}
env:
GOFLAGS: -mod=readonly
GOPROXY: https://proxy.golang.org
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
- run: go test -v ./...