Skip to content

bump actions/checkout@v4 (#113) #94

bump actions/checkout@v4 (#113)

bump actions/checkout@v4 (#113) #94

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.x
- name: fmt
run: test -z $(gofmt -l .)
- name: vet
run: go vet ./...
- name: staticcheck
uses: dominikh/[email protected]
with:
install-go: false
test:
strategy:
matrix:
go-version: [1.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Check out code
uses: actions/checkout@v4
- name: Test
run: go test -race ./...