Skip to content

Workload Identity Federation Auth #238

Workload Identity Federation Auth

Workload Identity Federation Auth #238

Workflow file for this run

name: Test
permissions:
contents: write
on: [pull_request]
jobs:
test:
name: Run Unit Tests and Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
cache: true
go-version-file: 'go.mod'
cache-dependency-path: go.sum
- name: Install Dependencies
run: |
go mod download
go install github.com/golangci/golangci-lint/cmd/[email protected]
go mod tidy
- name: Run Tests
run: make test-ci
- name: Upload Coverage Artifact
uses: actions/upload-artifact@v3
with:
name: Test Coverage
path: coverage.html