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 Apr 24, 2024
1 parent 2d57256 commit ede1832
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
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
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
if: "${{ !startsWith(github.ref_name, 'v') || steps.version.outputs.is_valid != 'true' }}"
run: 'echo "SpiceDB version must start with `v` and be a semver" && exit 1'
shell: "bash"
- 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
2 changes: 2 additions & 0 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
with:
username: "${{ env.DOCKERHUB_PUBLIC_USER }}"
password: "${{ env.DOCKERHUB_PUBLIC_ACCESS_TOKEN }}"
- 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 ede1832

Please sign in to comment.