Automated dependency upgrades #399
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, workflow_dispatch] | |
jobs: | |
fmtcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: .go-version | |
- run: make fmtcheck | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
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.26.15, 1.27.13, 1.28.9, 1.29.4, 1.30.0] | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Create K8s Kind Cluster | |
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 | |
with: | |
version: v0.23.0 | |
cluster_name: vault-plugin-auth-kubernetes | |
node_image: kindest/node:v${{ matrix.kind-k8s-version }} | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: .go-version | |
- run: make setup-integration-test | |
- env: | |
INTEGRATION_TESTS: true | |
run: make integration-test |