Skip to content

Commit

Permalink
Update GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Nov 8, 2024
1 parent f1581cb commit 3efb9ae
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,32 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install OpenGL
run: |
sudo apt update
sudo apt install -y xorg-dev libgl1-mesa-dev libxkbcommon-x11-dev libwayland-dev libx11-xcb-dev libvulkan-dev
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Build
run: go build -v ./...
- name: Tests with coverage
run: go test -race -v -count=1 -coverprofile=coverage.out ./...
- name: Upload Code Coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
name: codecov
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
continue-on-error: true
with:
version: latest

0 comments on commit 3efb9ae

Please sign in to comment.