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

chore(deps): update stefanzweifel/git-auto-commit-action action to v5 #235

chore(deps): update stefanzweifel/git-auto-commit-action action to v5

chore(deps): update stefanzweifel/git-auto-commit-action action to v5 #235

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 ./...