Upgrade build/test environment
Upgrading Linux build env to Ubuntu 24.04, Go 1.23
This commit is contained in:

committed by
GitHub

parent
2f9ed92cb8
commit
8c7a7eb841
4
.github/workflows/build-and-test.yaml
vendored
4
.github/workflows/build-and-test.yaml
vendored
@@ -2,12 +2,12 @@ name: build-and-test
|
||||
on: [pull_request, push, workflow_dispatch]
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.22
|
||||
go-version: 1.23
|
||||
- run: DIFF="$( find . -name '*.go' -print0 | xargs -0 gofmt -l )"; if [ -n "$DIFF" ]; then echo "Files not formatted, run gofmt:"; echo "$DIFF"; exit 1; fi
|
||||
- run: sudo apt-get install libusb-1.0-0-dev
|
||||
- run: go install golang.org/x/tools/cmd/cover@latest
|
||||
|
Reference in New Issue
Block a user