Skip to content

Bump actions/checkout from 2.4.0 to 4.0.0 #334

Bump actions/checkout from 2.4.0 to 4.0.0

Bump actions/checkout from 2.4.0 to 4.0.0 #334

Workflow file for this run

name: Continuous Integration
on:
push:
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- name: Set up Go 1.17
uses: actions/[email protected]
with:
go-version: 1.17
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
- name: Run tests
run: go test -race ./...
- name: Check go vet
run: go vet ./...
- name: Check go fmt
run: diff -u <(echo -n) <(gofmt -s -d .)