Skip to content

Bump actions/checkout from 3 to 4 #260

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #260

Workflow file for this run

name: Go
on:
push:
branches:
- main
- 'rel/*'
pull_request:
branches:
- main
- 'rel/*'
# allow manually run the action:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
go: ['1.13', '1.19']
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v ./...
- name: Test
run: make test