Skip to content

Commit

Permalink
build: pass Go release channel to lint-project.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Feb 17, 2025
1 parent 7e83a84 commit 589422d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ jobs:
- name: Check
if: runner.os == 'Linux'
run: make check
env:
GO_RELEASE: ${{ matrix.version }}

- name: Short Check
if: runner.os != 'Linux'
run: make check
env:
GOTEST_FLAGS: "-short"
GO_RELEASE: ${{ matrix.version }}

- name: Logs
if: failure() && runner.os == 'Linux'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nocgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ jobs:
run: make check
env:
CGO_ENABLED: "0"
GO_RELEASE: ${{ matrix.version }}

- name: Short Check
if: runner.os != 'Linux'
run: make check
env:
CGO_ENABLED: "0"
GOTEST_FLAGS: "-short"
GO_RELEASE: ${{ matrix.version }}

- name: Logs
if: failure() && runner.os == 'Linux'
Expand Down

0 comments on commit 589422d

Please sign in to comment.