go updates oct 28 2024 (#247) #286
This file contains 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
on: [push, pull_request] | |
name: Test | |
jobs: | |
testlinux: | |
strategy: | |
matrix: | |
go-version: [1.23.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: gcc rpm alien rsync pkg-config libudev-dev libudev | |
- uses: actions/checkout@v3 | |
- run: make test | |
testmacos: | |
strategy: | |
matrix: | |
go-version: [1.23.x] | |
os: [macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/checkout@v3 | |
- run: make test | |
buildlinuxpackage: | |
strategy: | |
matrix: | |
go-version: [1.23.x] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: gcc rpm alien rsync pkg-config libudev-dev libudev | |
- uses: actions/checkout@v3 | |
- run: make rpm | |