Skip to content

feat: allow non-admin config tokens to rotate using rotation API #216

feat: allow non-admin config tokens to rotate using rotation API

feat: allow non-admin config tokens to rotate using rotation API #216

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [ '1.21' ]
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Display Go version
run: go version
- name: Build
run: go build -v ./cmd/vault-plugin-secrets-gitlab
- name: Test
run: go test -cover -coverprofile=coverage.out -v
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage.out
flags: unittests