Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,21 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: ${{ github.event.pull_request.commits }}

- name: setup go
uses: actions/setup-go@v6
with:
go-version: "1.25.x"
cache: false

- name: validate conventional commit prefix
working-directory: scripts
run: ./validate-conventional-commit-prefix.sh

- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
args: --timeout=5m --color=always --max-same-issues=0 --max-issues-per-linter=0

- name: setup regal
uses: StyraInc/setup-regal@v1
with:
Expand All @@ -46,7 +57,13 @@ jobs:
--format github

validate:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- 'ubuntu-latest'
- 'macos-latest'
- 'windows-latest'
runs-on: ${{ matrix.os }}
steps:
- name: checkout source
uses: actions/checkout@v5
Expand All @@ -57,11 +74,6 @@ jobs:
go-version: "1.25.x"
cache: false

- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
args: --timeout=5m --color=always --max-same-issues=0 --max-issues-per-linter=0

- name: build
run: make build

Expand Down
Loading