Skip to content

Migrate to GitHub Actions #2

Migrate to GitHub Actions

Migrate to GitHub Actions #2

Workflow file for this run

name: Go Check
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.20.x, 1.21.x, 1.22.x]
steps:
- name: Setup Go environment
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
stable: true
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go get -v -t -d ./...
- name: Test
run: go test ./...