Skip to content

chore(deps): update actions/checkout action to v2.7.0 - autoclosed #234

chore(deps): update actions/checkout action to v2.7.0 - autoclosed

chore(deps): update actions/checkout action to v2.7.0 - autoclosed #234

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request_target:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.14, 1.15]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: setup go ${{ matrix.go-version }}
uses: actions/setup-go@v2.1.2
with:
go-version: ${{ matrix.go-version }}
id: go
- name: check out code
uses: actions/checkout@v2.7.0
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- uses: actions/cache@v2.1.2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
${{ runner.os }}-go-${{ matrix.go-version }}-
- name: install
run: go install -mod=readonly ./cmd/tuplip
- name: test
run: go test -v ./...