Remove cgo from llgo/c and llgo/runtime #468
Workflow file for this run
This file contains hidden or 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: Format Check | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| pull_request: | |
| branches: [ "**" ] | |
| jobs: | |
| fmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: ./.github/actions/setup-go | |
| with: | |
| go-version: '1.24.0' | |
| - name: Check formatting | |
| run: | | |
| for dir in . compiler runtime; do | |
| pushd $dir | |
| if [ -n "$(go fmt ./...)" ]; then | |
| echo "Some files are not properly formatted. Please run 'go fmt ./...'" | |
| exit 1 | |
| fi | |
| popd | |
| done | |
| echo "All files are properly formatted." |