Skip to content

Merge pull request #80 from sourcegraph/nsc/lsifgo-to-scipgo #58

Merge pull request #80 from sourcegraph/nsc/lsifgo-to-scipgo

Merge pull request #80 from sourcegraph/nsc/lsifgo-to-scipgo #58

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches:
- master
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
go:
- 1.16
name: Go ${{ matrix.go }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
id: go
- name: Get dependencies
run: go get -t -v ./...
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/[email protected]
- name: Lint
run: staticcheck -checks=all ./...
- name: Test
run: go test -v -race ./...