From ede18323654d6576a8960b94ff24cc859ad8c6f9 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Thu, 29 Feb 2024 13:57:05 -0500 Subject: [PATCH] .github: install snap in workflows --- .github/workflows/nightly.yaml | 2 ++ .github/workflows/release.yaml | 2 ++ .github/workflows/security.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 910a487583..2d47c2ca55 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -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 }}" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0983f72b2e..c1807d16b6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 }}" diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index 9e2daf9c56..ae2efb83a9 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -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"