Skip to content

Update go-build.yml #15

Update go-build.yml

Update go-build.yml #15

Workflow file for this run

name: Go build
#
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
#
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18.x', '1.19.x', '1.20.x', '1.21.x' ]
steps:
- uses: actions/checkout@v3
#
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: subdir/go.sum
#cache: true
#
- name: Build
run: go build -v ./...
#
#
#