Skip to content

Commit

Permalink
.github/workflows: disable CGO (#106)
Browse files Browse the repository at this point in the history
* .github/workflows: disable CGO

* chore: disable correct place
  • Loading branch information
giautm authored Nov 21, 2023
1 parent 79072f5 commit 3347eaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
- name: Compile Go Binary
run: |
go build -o $BINARY_NAME -ldflags "-X ariga.io/atlas-action/atlasaction.Version=${{ github.event.inputs.version || 'v1' }}" ./cmd/atlas-action
env:
CGO_ENABLED: 0
- name: Check version
run: |
OUTPUT=$(./$BINARY_NAME --version)
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
with:
go-version: '1.21'
- run: go install ./cmd/atlas-action
env:
CGO_ENABLED: 0
- uses: ./migrate/apply
with:
dir: file://atlasaction/testdata/migrations
Expand Down

0 comments on commit 3347eaa

Please sign in to comment.