Skip to content

Update Go version and CI to modern standards #14

Update Go version and CI to modern standards

Update Go version and CI to modern standards #14

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.21.x, 1.22.x]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v2
- name: Test
run: go test ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0

Check failure on line 20 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
with:
version: v1.55