fix: make sure the field and matching pattern are ordered correctly #647
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: development | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
concurrency: | |
group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
qa: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Setup Golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ^1.22.8 | |
- name: Setup workspace | |
run: cp go.work.dist go.work | |
- name: Download golangci-lint installer | |
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh -o /tmp/install-golangci-lint.sh | |
- name: Install golangci-lint | |
run: sh /tmp/install-golangci-lint.sh -b /usr/local/bin v1.61.0 | |
- name: Lint Go files | |
run: ./scripts/lint-golang.sh | |
- name: Run tests | |
run: ./scripts/test.sh | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 | |
- name: Build binaries | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
distribution: goreleaser | |
version: 2.3.1 | |
args: release --verbose --snapshot --clean | |
env: | |
GO_VERSION: 1.22.8 |