Fix for Go 1.22 #1173
Workflow file for this run
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
# This file adheres to the YAML5 style. | |
{ | |
name: "Go", | |
on: [ "push", "pull_request" ], | |
jobs: { | |
build: { | |
name: "Build", | |
"runs-on": "ubuntu-latest", | |
strategy: { matrix: { "go-version": [ "stable", "oldstable"] } }, | |
steps: [ | |
{ name: "Check out code into the Go module directory", uses: "actions/checkout@v4" }, | |
{ | |
name: "Set up Go ${{ matrix.go-version }}", | |
uses: "actions/setup-go@v4", | |
with: { "go-version": "${{ matrix.go-version }}" }, | |
id: "go", | |
}, | |
{ name: "Linter", run: "make lint" }, | |
{ name: "Test", run: "make test" }, | |
{ name: "Test release", run: "make test-release" }, | |
], | |
}, | |
}, | |
} |