Skip to content

fix ci

fix ci #5

Workflow file for this run

name: Go
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
build:
name: Build on Go ${{ matrix.go-version }}
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.19.x, 1.20.x, 1.21.x]
steps:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: go mod download
- name: Test
run: go test -v ./...