Skip to content

Release/1.1.0 (#54) #31

Release/1.1.0 (#54)

Release/1.1.0 (#54) #31

Workflow file for this run

name: Run CI Tests
on:
pull_request:
paths-ignore:
- 'README.md'
push:
branches:
- 'main'
paths-ignore:
- 'README.md'
jobs:
run-lint:
timeout-minutes: 10
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-golang@v3
with:
version-file: go.mod
- uses: golangci/[email protected]
with:
version: v1.59.1
skip-cache: true
args: --timeout=9m
run-copywrite:
timeout-minutes: 10
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: hashicorp/[email protected]
- name: verify copywrite headers
run: |
copywrite --config .copywrite.hcl headers --spdx "MPL-2.0" --plan
run-tests:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-golang@v3
with:
version-file: go.mod
- name: Run Go Test
run: |
make test
permissions:
contents: read