Skip to content

Commit

Permalink
chore: minor workflows improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Sep 22, 2022
1 parent 14884f5 commit 6aa3f5a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -24,10 +24,17 @@ permissions:
jobs:
govulncheck:
uses: caarlos0/meta/.github/workflows/govulncheck.yml@main
with:
cache: true
go-version: '>=1.19.1'
semgrep:
uses: caarlos0/meta/.github/workflows/semgrep.yml@main
ruleguard:
uses: caarlos0/meta/.github/workflows/ruleguard.yml@main
with:
cache: true
go-version: '>=1.19.1'
args: '-disable largeloopcopy'
test:
runs-on: ubuntu-latest
env:
Expand All @@ -51,7 +58,7 @@ jobs:
mkdir -p $HOME/.cache/snapcraft/stage-packages
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
with:
go-version: '1.19'
go-version: '>=1.19.1'
cache: true
- uses: sigstore/cosign-installer@v2.6.0
- uses: anchore/sbom-action/download-syft@v0.12.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
with:
go-version: 1.19
go-version: '>=1.19.1'
- run: task docs:build
- uses: wjdp/htmltest-action@09118714cd26bef56bd3d0819e4f9b1dce6f60a9 # master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
token: ${{ secrets.GH_PAT }}
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
with:
go-version: 1.19
go-version: '>=1.19.1'
- uses: arduino/setup-task@ca745e18916de727f841ec824ac20a615f1cddea # v1
- run: task docs:generate
- run: task schema:generate
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
with:
go-version: ~1.19
go-version: '>=1.19.1'
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
- name: golangci-lint
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -64,7 +64,7 @@ jobs:
mkdir -p $HOME/.cache/snapcraft/stage-packages
- uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3
with:
go-version: '1.19'
go-version: '>=1.19.1'
cache: true
- uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3
with:
Expand Down
2 changes: 1 addition & 1 deletion www/docs/ci/actions.md
Expand Up @@ -36,7 +36,7 @@ jobs:
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '>=1.19.1'
cache: true
- uses: goreleaser/goreleaser-action@v2
with:
Expand Down

0 comments on commit 6aa3f5a

Please sign in to comment.