Skip to content

fix go 1.21 compilation failure #44

fix go 1.21 compilation failure

fix go 1.21 compilation failure #44

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Continuous Integration
on:
push:
branches: [ "main" ]
paths-ignore:
- 'README.md'
pull_request:
paths-ignore:
- 'README.md'
jobs:
build_and_test:
name: Build and Test
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '>=1.20'
check-latest: true
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...