fix: Set CGO_ENABLED with env directive (#68)
* fix: Use env setting for CGO_ENABLED Resolves run failures in Windows CI. * ci(e2e): Run e2e on all PRs to main
This commit is contained in:
9
.github/workflows/e2e_test.yml
vendored
9
.github/workflows/e2e_test.yml
vendored
@@ -2,7 +2,10 @@ name: E2E Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -43,7 +46,9 @@ jobs:
|
||||
restore-keys: |
|
||||
go-${{ runner.os }}-
|
||||
- name: Build the project
|
||||
run: CGO_ENABLED=0 go build
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
run: go build
|
||||
- name: Install extension
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.REPO_WRITE_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user