Skip to content

update CI to use latest golang versions #54

update CI to use latest golang versions

update CI to use latest golang versions #54

Workflow file for this run

name: Go CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Golang - test
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.19, 1.20]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go mod tidy
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...