Skip to content

Bootstrap open source repo #13

Bootstrap open source repo

Bootstrap open source repo #13

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- run: go build ./...
- run: go test ./internal/client/ -v
acceptance:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- run: go test ./internal/provider/ -v -timeout 10m
env:
TF_ACC: "1"
TRUNK_API_KEY: ${{ secrets.TRUNK_API_KEY }}