Skip to content

Commit

Permalink
.github: install snap in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Feb 29, 2024
1 parent e2d3849 commit d941cac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
goreleaser:
runs-on: "buildjet-4vcpu-ubuntu-2204"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
- uses: "authzed/actions/setup-go@main"
- name: "Install snapcraft"
run: "sudo snap install snapcraft --channel=7.x/stable --classic"
- uses: "authzed/actions/docker-login@main"
with:
quayio_token: "${{ secrets.QUAYIO_PASSWORD }}"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
goreleaser:
runs-on: "buildjet-4vcpu-ubuntu-2204"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
- uses: "authzed/actions/setup-go@main"
- name: "Install snapcraft"
run: "sudo snap install snapcraft --channel=7.x/stable --classic"
- uses: "authzed/actions/docker-login@main"
with:
quayio_token: "${{ secrets.QUAYIO_PASSWORD }}"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
name: "Analyze Code and Docker Image with Trivvy"
runs-on: "buildjet-2vcpu-ubuntu-2204"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
- name: "Install snapcraft"
run: "sudo snap install snapcraft --channel=7.x/stable --classic"
- uses: "aquasecurity/trivy-action@master"
with:
scan-type: "fs"
Expand Down

0 comments on commit d941cac

Please sign in to comment.