Skip to content

Write provider schema to schema.json #1140

Write provider schema to schema.json

Write provider schema to schema.json #1140

Workflow file for this run

name: test
on:
pull_request:
paths:
- .github/workflows/test.yml
- .golangci.yml
- go.mod
- '**.go'
- '**.txtar'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
# Related issue: https://github.com/golangci/golangci-lint/issues/580
- name: Windows - ensure LF line endings for gofmt
if: matrix.os == 'windows-latest'
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: 'go.mod'
- name: Run linters
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: latest
args: --timeout=3m
- name: go vet
run: go vet ./...
- name: Run acceptance tests
run: make testacc