mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
chore: update action
This commit is contained in:
parent
5976442d61
commit
ae48cdee2f
18
.github/workflows/checks.yml
vendored
18
.github/workflows/checks.yml
vendored
@ -11,8 +11,8 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GO_VERSION: 1.19
|
GOFLAGS: -mod=readonly
|
||||||
GOLANGCI_LINT_VERSION: v1.48
|
GOPROXY: https://proxy.golang.org
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
matrix:
|
matrix:
|
||||||
@ -41,25 +41,17 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version-file: 'go.mod'
|
||||||
- uses: golangci/golangci-lint-action@v3.2.0
|
- uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
version: ${{ env.GOLANGCI_LINT_VERSION }}
|
|
||||||
working-directory: ${{ matrix.gomod }}
|
working-directory: ${{ matrix.gomod }}
|
||||||
test:
|
test:
|
||||||
name: test
|
name: test
|
||||||
needs: matrix
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
gomod: ${{ fromJson(needs.matrix.outputs.gomod) }}
|
|
||||||
env:
|
|
||||||
GOFLAGS: -mod=readonly
|
|
||||||
GOPROXY: https://proxy.golang.org
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GO_VERSION }}
|
go-version-file: 'go.mod'
|
||||||
- run: go test -v ./...
|
- run: go test -v ./...
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user