1
0
Fork 0
mirror of https://github.com/imjasonh/gke-auth synced 2026-07-07 00:23:18 +00:00
gke-auth/.github/workflows/test-action.yaml
dependabot[bot] 489eb77c0c
Bump the github-actions group across 1 directory with 3 updates
Bumps the github-actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/setup-go](https://github.com/actions/setup-go) and [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action).


Updates `actions/checkout` from 6.0.3 to 7.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](df4cb1c069...9c091bb21b)

Updates `actions/setup-go` from 6.4.0 to 6.5.0
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4a3601121d...924ae3a1cd)

Updates `goreleaser/goreleaser-action` from 7.2.2 to 7.2.3
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](5daf1e915a...f06c13b6b1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-go
  dependency-version: 6.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: goreleaser/goreleaser-action
  dependency-version: 7.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 16:33:24 +00:00

42 lines
1.2 KiB
YAML

name: Test Action
on:
push:
branches: ['main']
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
test-action:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['v0.3.3', 'latest-release', 'tip']
fail-fast: false
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version-file: './go.mod'
- uses: azure/setup-kubectl@829323503d1be3d00ca8346e5391ca0b07a9ab0d # v5.1.0
- uses: 'google-github-actions/auth@v3.0.0'
with:
workload_identity_provider: 'projects/535085602168/locations/global/workloadIdentityPools/github-actions/providers/github-actions'
service_account: 'gke-auth@imjasonh.iam.gserviceaccount.com'
- uses: imjasonh/gke-auth@main
with:
version: ${{ matrix.version }}
project: imjasonh
location: us-east4
cluster: autopilot
registry_location: us-east4
- run: kubectl get pods
- uses: imjasonh/setup-crane@main
- run: crane catalog us-east4-docker.pkg.dev