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

chore(deps): update actions/cache action to v4 #239

chore(deps): update actions/cache action to v4

chore(deps): update actions/cache action to v4 #239

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/[email protected]
with:
go-version: ${{ matrix.go-version }}
id: go
- name: check out code
uses: actions/[email protected]
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- uses: actions/[email protected]
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 ./...