Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

chore(deps): update peter-evans/create-pull-request action to v6 #247

chore(deps): update peter-evans/create-pull-request action to v6

chore(deps): update peter-evans/create-pull-request action to v6 #247

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.5
with:
go-version: ${{ matrix.go-version }}
id: go
- name: check out code
uses: actions/checkout@v2.3.5
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- uses: actions/cache@v2.1.8
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: test
run: go test -v ./...