Skip to content

Fix linter in tests

Fix linter in tests #7

Workflow file for this run

name: Go package
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18', '1.19', '1.20' ]
steps:
- uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Test with Go ${{ matrix.go-version }}
run: go test -json > TestResults-${{ matrix.go-version }}.json
- name: Upload Go test results for ${{ matrix.go-version }}
uses: actions/upload-artifact@v3
with:
name: Go-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.json