Skip to content

Commit

Permalink
Merge pull request #374 from authzed/dependabot/github_actions/github…
Browse files Browse the repository at this point in the history
…-actions-74171b5331

build(deps): bump the github-actions group with 2 updates
  • Loading branch information
vroldanbet authored Apr 29, 2024
2 parents 8937cf9 + c43e851 commit 9038fb5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
name: "Build Binary"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
- uses: "authzed/actions/go-build@main"

image-build:
name: "Build Container Image"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/docker-build@main"

unit:
name: "Run Unit Tests"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
- uses: "authzed/action-spicedb@v1"
- uses: "authzed/actions/go-test@main"
Expand All @@ -40,7 +40,7 @@ jobs:
name: "WASM Tests"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
with:
cache: "false" # do not cache to prevent cache poisoning
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: "Lint Go"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
- uses: "authzed/actions/gofumpt@main"
- uses: "authzed/actions/go-mod-tidy@main"
Expand All @@ -26,7 +26,7 @@ jobs:
name: "Lint YAML & Markdown"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/yaml-lint@main"
- uses: "authzed/actions/markdown-lint@main"

Expand All @@ -42,15 +42,15 @@ jobs:
matrix:
language: ["go"]
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
- uses: "authzed/actions/codeql@main"

trivy-fs:
name: "Analyze FS with Trivy"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "aquasecurity/trivy-action@master"
with:
scan-type: "fs"
Expand All @@ -63,15 +63,15 @@ jobs:
name: "Analyze Release Image with Trivy"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
# Workaround until goreleaser release supports --single-target
# makes the build faster by not building everything
- name: "modify goreleaser config to skip building all targets"
run: |
echo "partial:
by: target" >> .goreleaser.docker.yml
- uses: "goreleaser/goreleaser-action@v4"
- uses: "goreleaser/goreleaser-action@v5"
id: "goreleaser"
with:
distribution: "goreleaser-pro"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
github:
runs-on: "macos-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: "Install cross-compilers"
Expand All @@ -18,7 +18,7 @@ jobs:
brew install x86_64-unknown-linux-gnu x86_64-unknown-linux-musl aarch64-unknown-linux-gnu aarch64-unknown-linux-musl mingw-w64
echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
- uses: "authzed/actions/setup-go@main"
- uses: "goreleaser/goreleaser-action@v3"
- uses: "goreleaser/goreleaser-action@v5"
with:
distribution: "goreleaser-pro"
version: "latest"
Expand All @@ -32,7 +32,7 @@ jobs:
docker:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
- uses: "authzed/actions/docker-login@main"
Expand All @@ -43,7 +43,7 @@ jobs:
- name: "Install linux cross-compilers"
run: "sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu gcc-mingw-w64-x86-64"
- uses: "authzed/actions/setup-go@main"
- uses: "goreleaser/goreleaser-action@v3"
- uses: "goreleaser/goreleaser-action@v5"
with:
distribution: "goreleaser-pro"
version: "latest"
Expand Down

0 comments on commit 9038fb5

Please sign in to comment.