Skip to content

Commit

Permalink
Merge pull request #301 from authzed/dependabot/github_actions/action…
Browse files Browse the repository at this point in the history
…s-version-94470a8b42

Bump the actions-version group with 8 updates
  • Loading branch information
vroldanbet authored Mar 21, 2024
2 parents 099a373 + 37e2db4 commit 4686438
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
codechange: "${{ steps.filter.outputs.codechange }}"
graphchange: "${{ steps.graph-filter.outputs.graphchange }}"
steps:
- uses: "actions/checkout@v2"
- uses: "dorny/paths-filter@v2"
- uses: "actions/checkout@v4"
- uses: "dorny/paths-filter@v3"
id: "filter"
with:
filters: |
Expand All @@ -33,7 +33,7 @@ jobs:
- "pkg/**"
- "e2e/**"
- "internal/**"
- uses: "dorny/paths-filter@v2"
- uses: "dorny/paths-filter@v3"
id: "graph-filter"
with:
filters: |
Expand All @@ -46,7 +46,7 @@ jobs:
name: "Build Binary"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
with:
go-version: "${{ env.GO_VERSION }}"
Expand All @@ -59,7 +59,7 @@ jobs:
name: "Build Container Image"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
with:
go-version: "${{ env.GO_VERSION }}"
Expand All @@ -77,16 +77,16 @@ jobs:
name: "Unit Tests"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
submodules: true
- uses: "authzed/actions/setup-go@main"
with:
go-version: "${{ env.GO_VERSION }}"
- uses: "docker/setup-qemu-action@v2"
- uses: "docker/setup-buildx-action@v2"
- uses: "docker/setup-qemu-action@v3"
- uses: "docker/setup-buildx-action@v3"
- name: "Run Unit Tests"
uses: "magefile/mage-action@v2"
uses: "magefile/mage-action@v3"
with:
version: "latest"
args: "test:unit"
Expand All @@ -98,33 +98,33 @@ jobs:
name: "E2E Tests"
runs-on: "ubuntu-latest-8-cores"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
if: |
needs.paths-filter.outputs.graphchange == 'true'
with:
submodules: true
token: "${{ secrets.AUTHZED_BOT_PAT }}"
repository: "${{ github.event.pull_request.head.repo.full_name }}"
ref: "${{ github.event.pull_request.head.ref }}"
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
if: |
needs.paths-filter.outputs.graphchange == 'false'
with:
submodules: true
- uses: "authzed/actions/setup-go@main"
with:
go-version: "${{ env.GO_VERSION }}"
- uses: "docker/setup-qemu-action@v2"
- uses: "docker/setup-buildx-action@v2"
- uses: "docker/setup-qemu-action@v3"
- uses: "docker/setup-buildx-action@v3"
- name: "Run E2E Tests"
uses: "magefile/mage-action@v2"
uses: "magefile/mage-action@v3"
with:
version: "latest"
args: "test:e2e"
- name: "Check if validated update graph has changed"
if: |
needs.paths-filter.outputs.graphchange == 'true'
uses: "tj-actions/verify-changed-files@v13"
uses: "tj-actions/verify-changed-files@v19"
id: "verify-changed-graph"
with:
files: |
Expand All @@ -139,7 +139,7 @@ jobs:
default_author: "github_actor"
message: "update validated graph after successful tests"
pathspec_error_handling: "exitImmediately"
- uses: "actions/upload-artifact@v2"
- uses: "actions/upload-artifact@v4"
if: "always()"
# this upload step is really flaky, don't fail the job if it fails
continue-on-error: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: "Lint Go"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/setup-go@main"
with:
go-version: "${{ env.GO_VERSION }}"
Expand All @@ -27,7 +27,7 @@ jobs:
working-directory: "magefiles"
run: "go run mvdan.cc/gofumpt -w ."
- name: "Codegen"
uses: "magefile/mage-action@v2"
uses: "magefile/mage-action@v3"
with:
version: "latest"
args: "generate"
Expand All @@ -52,7 +52,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: "stefanprodan/kube-tools@v1"
with:
Expand All @@ -77,5 +77,5 @@ jobs:
matrix:
language: ["go"]
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "authzed/actions/codeql@main"
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
env:
KUSTOMIZER_ARTIFACT: "oci://ghcr.io/${{github.repository_owner}}/${{github.event.repository.name}}-manifests"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
fetch-depth: 0
- uses: "authzed/actions/setup-go@main"
Expand All @@ -26,8 +26,8 @@ jobs:
quayio_token: "${{ secrets.QUAYIO_PASSWORD }}"
github_token: "${{ secrets.GITHUB_TOKEN }}"
dockerhub_token: "${{ secrets.DOCKERHUB_ACCESS_TOKEN }}"
- uses: "docker/setup-qemu-action@v1"
- uses: "docker/setup-buildx-action@v1"
- uses: "docker/setup-qemu-action@v3"
- uses: "docker/setup-buildx-action@v3"
# the release directory is gitignored, which keeps goreleaser from
# complaining about a dirty tree
- name: "Copy manifests to release directory"
Expand All @@ -44,7 +44,7 @@ jobs:
with:
kustomize_build_dir: "release/config"
kustomize_output_file: "release/bundle.yaml"
- uses: "goreleaser/goreleaser-action@v2"
- uses: "goreleaser/goreleaser-action@v5"
with:
distribution: "goreleaser-pro"
version: "latest"
Expand Down

0 comments on commit 4686438

Please sign in to comment.