Skip to content

Commit

Permalink
Update CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikh committed Mar 23, 2024
1 parent 69fbc04 commit 55f2b3b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -14,14 +14,14 @@ jobs:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: WillAbides/setup-go-faster@v1.12.0
- uses: WillAbides/setup-go-faster@v1.14.0
with:
go-version: ${{ matrix.go }}
- run: "go test ./..."
- run: "go vet ./..."
- uses: dominikh/staticcheck-action@v1.3.0
- uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6
with:
version: "2023.1.6"
version: "2023.1.7"
min-go-version: "module"
install-go: false
cache-key: ${{ matrix.go }}
Expand All @@ -38,19 +38,17 @@ jobs:
needs: ci
runs-on: "ubuntu-latest"
steps:
- uses: WillAbides/setup-go-faster@v1.12.0
- uses: WillAbides/setup-go-faster@v1.14.0
with:
go-version: "1.22.x"
go-version: "stable"
# this downloads all artifacts of the current workflow into the current working directory, creating one directory per artifact
- uses: actions/download-artifact@v3
- id: glob
run: |
# We replace newlines with %0A, which GitHub apparently magically turns back into newlines
out=$(ls -1 ./staticcheck-*.bin/*.bin)
echo "::set-output name=files::${out//$'\n'/%0A}"
- uses: dominikh/staticcheck-action@v1.3.0
- uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6
with:
version: "2023.1.6"
min-go-version: "module"
install-go: false
merge-files: ${{ steps.glob.outputs.files }}

0 comments on commit 55f2b3b

Please sign in to comment.