Skip to content

Fix name and Add tooling to generate docs #44

Fix name and Add tooling to generate docs

Fix name and Add tooling to generate docs #44

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
cache: true
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test -v -cover ./internal/provider/...
- name: Run acceptance tests
run: |
go test -v ./internal/provider/... -timeout 120m
env:
TF_ACC: "1"
POMERIUM_API_URL: ${{ secrets.POMERIUM_API_URL }}
POMERIUM_API_TOKEN: ${{ secrets.POMERIUM_API_TOKEN }}
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
cache: true
- name: Run golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
with:
version: v1.60.1
args: --timeout=10m
skip-cache: true