Skip to content

Add pinact and zizmor workflow checks #16

Add pinact and zizmor workflow checks

Add pinact and zizmor workflow checks #16

Workflow file for this run

name: Run Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
go-version: [1.19]
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3
with:
terraform_version: 1.3.7
terraform_wrapper: false
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3.6.1
with:
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
args: --issues-exit-code=0 --timeout=5m
- name: Run tests
run: go test -race -coverprofile=coverage.out -covermode=atomic -coverpkg=./... -v ./...
- name: Upload to codecov
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
with:
verbose: true