Some checks failed
Go / build (1.22) (pull_request) Successful in 12s
Go / build (1.23) (pull_request) Successful in 1m11s
Go / build (1.24) (pull_request) Successful in 1m13s
Go / build (1.24) (push) Has been cancelled
Go / build (1.23) (push) Has been cancelled
Go / build (1.22) (push) Has been cancelled
29 lines
474 B
YAML
29 lines
474 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version: [ '1.22', '1.23', '1.24' ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Build
|
|
run: go build -v ./...
|
|
|
|
- name: Test
|
|
run: go test -v ./...
|