Skip to content

chore: use UUID filter to find policy collection mappings #128

chore: use UUID filter to find policy collection mappings

chore: use UUID filter to find policy collection mappings #128

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
pull-requests: read
jobs:
lint-go:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Tool versions
uses: wistia/[email protected]
with:
prefix: TOOL_VERSION_
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.TOOL_VERSION_GO }}
- name: Lint
uses: golangci/golangci-lint-action@v8
with:
version: ${{ env.TOOL_VERSION_GOLANGCI_LINT }}
lint-tf:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Tool versions
uses: wistia/[email protected]
with:
prefix: TOOL_VERSION_
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ env.TOOL_VERSION_TERRAFORM }}
- name: Setup Just
uses: extractions/setup-just@v3
with:
just-version: ${{ env.TOOL_VERSION_JUST }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.TOOL_VERSION_GO }}
- name: Lint
run: |
just lint-tf
lint-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Tool versions
uses: wistia/[email protected]
with:
prefix: TOOL_VERSION_
- name: Setup Just
uses: extractions/setup-just@v3
with:
just-version: ${{ env.TOOL_VERSION_JUST }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.TOOL_VERSION_GO }}
- name: Lint
run: |
just lint-docs
lint-copyright:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Tool versions
uses: wistia/[email protected]
with:
prefix: TOOL_VERSION_
- name: Setup Just
uses: extractions/setup-just@v3
with:
just-version: ${{ env.TOOL_VERSION_JUST }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.TOOL_VERSION_GO }}
- name: Lint
run: |
just lint-copyright
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Tool versions
uses: wistia/[email protected]
with:
prefix: TOOL_VERSION_
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ env.TOOL_VERSION_TERRAFORM }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.TOOL_VERSION_GO }}
- name: Test
env:
TF_ACC: "1"
run: |
go test ./internal/...