Attempt to fix the build testing error.

This commit is contained in:
Michael L. Young
2022-03-17 11:10:49 -04:00
committed by Christian Goll
parent aadfdfe1e6
commit cf03d7ef69
3 changed files with 10 additions and 3 deletions

View File

@@ -24,6 +24,8 @@ jobs:
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '1.16'
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod

View File

@@ -15,11 +15,16 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.16', '1.17', '1.18' ]
steps:
- uses: actions/checkout@v2
- name: Install Go
- name: Setup go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- uses: actions/cache@v2
with:
@@ -28,5 +33,5 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Build
- name: Build with go ${{ matrix.go }}
run: make all

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/hpcng/warewulf
go 1.15
go 1.16
require (
github.com/brotherpowers/ipsubnet v0.0.0-20170914094241-30bc98f0a5b1