Skip to content

disable errcheck

disable errcheck #92

Workflow file for this run

name: Go Test
on:
push:
branches: [ master ]
jobs:
golangci:

Check failure on line 8 in .github/workflows/go-test.yml

View workflow run for this annotation

GitHub Actions / Go Test

Invalid workflow file

The workflow is not valid. .github/workflows/go-test.yml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
needs: 'golangci-lint'
strategy:
matrix:
go-version:
- '1.15'
- '1.16'
- '1.17'
- '1.18'
- '1.19'
- '1.20'
- '1.21'
- '1.22'
os:
- ubuntu-latest
- macos-latest-large
- windows-latest
exclude:
- os: macos-latest-large
go-version: '1.15'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: go.sum
- name: Install dependencies
run: |
go get .
go get github.com/RyuaNerin/[email protected]
- name: Build
run: go build -v ./...
- name: Test (purego)
run: go test --tags=purego ./...
- name: Test
run: go test ./...