Skip to content

Bump golang from 1.23.2 to 1.23.3 in the docker group #143

Bump golang from 1.23.2 to 1.23.3 in the docker group

Bump golang from 1.23.2 to 1.23.3 in the docker group #143

name: Continuous Integration
on: pull_request
jobs:
kubernetes:
name: Kubernetes
runs-on: ubuntu-latest
strategy:
matrix:
deployment:
- kubernetes-sharedclient
- kubernetes-nosharedclient
- kubernetes-namespaced
- approle-env-vars
- approle-no-env-vars
- userpass
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Vault
run: |
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install vault
- name: Setup kind Cluster
run: ./hack/setup-kind.sh
- name: Run Test
run: ./hack/setup-kind-${{ matrix.deployment }}.sh
env:
VAULT_ADDR: http://127.0.0.1:8200
- name: Show Pod Status and Logs
if: ${{ always() }}
run: |
kubectl get pods --namespace vault
kubectl logs --namespace=vault vault-0
kubectl get pods --namespace vault-secrets-operator
kubectl logs --namespace=vault-secrets-operator -l app.kubernetes.io/instance=vault-secrets-operator
go:
name: Go
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
cache-dependency-path: go.sum
- name: Download Dependencies
run: |
go mod download
- name: Test
run: |
make test
- name: Build
run: |
make build