Skip to content

chore: deps, actions #5

chore: deps, actions

chore: deps, actions #5

Workflow file for this run

name: build and test
on:
push:
branches:
- master
pull_request:
branches:
- master
- develop
jobs:
buildandtest:
name: Build and Test on Go ${{matrix.go}}
runs-on: ubuntu-latest
strategy:
matrix:
go: [ 'stable', 'oldstable' ]
steps:
- name: Set up Go ${{matrix.go}}
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # pin@v4
with:
go-version: ${{matrix.go}}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # pin@v3
- name: Test Go packages
run: go test -v -p 1 -exec sudo ./...