Skip to content

Result of tsccr-helper -log-level=info gha update -latest .github/ (#… #417

Result of tsccr-helper -log-level=info gha update -latest .github/ (#…

Result of tsccr-helper -log-level=info gha update -latest .github/ (#… #417

Workflow file for this run

name: Tests
on: [push, workflow_dispatch]
jobs:
fmtcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: .go-version
- run: make fmtcheck
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: .go-version
- run: make test
integrationTest:
runs-on: ubuntu-latest
needs: [fmtcheck, test]
strategy:
fail-fast: false
matrix:
kind-k8s-version: [1.27.16, 1.28.15, 1.29.10, 1.30.6, 1.31.2]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Create K8s Kind Cluster
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
with:
version: v0.25.0
cluster_name: vault-plugin-auth-kubernetes
node_image: kindest/node:v${{ matrix.kind-k8s-version }}
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: .go-version
- run: make setup-integration-test
- env:
INTEGRATION_TESTS: true
run: make integration-test