Skip to content

Pin all GitHub actions to a commit #198

Pin all GitHub actions to a commit

Pin all GitHub actions to a commit #198

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.11.x, 1.12.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
env:
GOPATH: ${{ github.workspace }}
GO111MODULE: off
steps:
- name: Install Go
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 #v2.2.20
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e #v2.4.2
with:
path: ./src/github.com/${{ github.repository }}
- name: Test
run: go test ./...