Skip to content

chore(deps): bump actions/setup-go from 2 to 4 #40

chore(deps): bump actions/setup-go from 2 to 4

chore(deps): bump actions/setup-go from 2 to 4 #40

Workflow file for this run

name: Build
on:
pull_request:
branches:
- main
paths-ignore:
- "**.md"
push:
branches:
- main
paths-ignore:
- "**.md"
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ["1.16", "1.15"]
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v2
- name: Cache modules
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: make build