Skip to content

chore(deps): bump actions/setup-go from 6.3.0 to 6.4.0 #529

chore(deps): bump actions/setup-go from 6.3.0 to 6.4.0

chore(deps): bump actions/setup-go from 6.3.0 to 6.4.0 #529

Workflow file for this run

name: Tests
on: [push, workflow_dispatch, pull_request]
env:
KIND_VERSION: "v0.29.0"
BATS_VERSION: "1.12.0"
NODE_VERSION: "24.2.0"
TARBALL_FILE: openbao-csi-provider.docker.tar
jobs:
go-checks:
uses: hashicorp/vault-workflows-common/.github/workflows/go-checks.yaml@main
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: .go-version
- name: Install tools
run: make bootstrap
- name: Lint
run: make lint GOLANGCI_LINT_FORMAT=github-actions
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: .go-version
- name: Build
run: |
make e2e-image
docker save --output "${TARBALL_FILE}" e2e/openbao-csi-provider:latest
- name: Test
run: make test
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: openbao-csi-provider-image
path: ${{ env.TARBALL_FILE }}
integration-test:
needs:
- lint
- test
strategy:
fail-fast: false
matrix:
kind-k8s-version: [1.33.7, 1.34.3, 1.35.0]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm install -g bats@${{ env.BATS_VERSION }}
shell: bash
- run: bats -v
shell: bash
- name: Create Kind Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
with:
cluster_name: kind
config: test/bats/configs/kind/config.yaml
node_image: kindest/node:v${{ matrix.kind-k8s-version }}
version: ${{ env.KIND_VERSION }}
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: openbao-csi-provider-image
- name: Load openbao-csi-provider dev image
run: docker image load --input ${{ env.TARBALL_FILE }}
- name: bats tests
timeout-minutes: 15
run: DISPLAY_SETUP_TEARDOWN_LOGS=true make e2e-setup e2e-test e2e-teardown