Skip to content

Update actions/checkout action to v4 #624

Update actions/checkout action to v4

Update actions/checkout action to v4 #624

Workflow file for this run

name: Go
on: [push]
jobs:
build:
name: Lint, Test, Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
goversion:
- 1.14
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.goversion }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: setup env
run: |
echo "::set-env name=GOPATH::$(go env GOPATH)"
echo "::add-path::$(go env GOPATH)/bin"
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- name: Setup
run: make setup
- name: Lint
run: make lint
- name: Test
run: make test
- name: Build
run: make build