Skip to content

Commit

Permalink
Fix the CI workflow for Linux (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix authored Sep 17, 2023
1 parent 322b7fd commit e623315
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ jobs:
run: |
sudo apt-get update && sudo apt-get install -y gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev
- name: Checkout
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Checkout
uses: actions/checkout@v3

# relevant docs:
# - https://docs.github.com/en/actions/learn-github-actions/contexts#runner-context
# - https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable
- name: Set env
run: |
echo "CGO_ENABLED=0" >> $GITHUB_ENV
# - name: Set env
# run: |
# echo "CGO_ENABLED=0" >> $GITHUB_ENV

- name: Check
run: go test -v ./...
Expand Down

0 comments on commit e623315

Please sign in to comment.