Skip to content

Bump actions/setup-python from 1 to 4 #80

Bump actions/setup-python from 1 to 4

Bump actions/setup-python from 1 to 4 #80

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
go-version: [ 1.18.x, 1.19.x, 1.20.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Restore cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: go build cmd/testutil/main.go