Skip to content

[github/actions] go-version: [1.17, 1.18, 1.19, 1.20, 1.21] #25

[github/actions] go-version: [1.17, 1.18, 1.19, 1.20, 1.21]

[github/actions] go-version: [1.17, 1.18, 1.19, 1.20, 1.21] #25

Workflow file for this run

name: Go
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.17, 1.18, 1.19, 1.20, 1.21]
steps:
- uses: actions/checkout@v2
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...