Skip to content

Commit

Permalink
Merge pull request #103 from isZumpo/fix_go_lint
Browse files Browse the repository at this point in the history
github(workflow): Add tensorflow dependencies to golangci-lint
  • Loading branch information
tphakala authored Apr 6, 2024
2 parents 4c839a3 + e9e2781 commit 166d766
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ jobs:
with:
go-version-file: 'go.mod'
- run: go version


- name: Install dependencies
run: make check-tensorflow

- name: Set environment variables for CGO
run: |
echo "CGO_ENABLED=1" >> $GITHUB_ENV
echo "CGO_CFLAGS=-I $HOME/src/tensorflow" >> $GITHUB_ENV
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
Expand Down

0 comments on commit 166d766

Please sign in to comment.