Update go.yml

This commit is contained in:
Thomas Gruber 2022-03-15 16:57:47 +01:00 committed by GitHub
parent 6d761ce710
commit 0292442fd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,11 +24,11 @@ jobs:
with: with:
go-version: '^1.17.7' go-version: '^1.17.7'
- name: Build - name: Create module
run: go build -v ./... run: go mod init
- name: Test - name: Test
run: go test -v ./... run: go test -v
# #
# Job build-1-16 # Job build-1-16
@ -47,8 +47,8 @@ jobs:
with: with:
go-version: '^1.16.7' # The version AlmaLinux 8.5 uses go-version: '^1.16.7' # The version AlmaLinux 8.5 uses
- name: Build - name: Create module
run: go build -v ./... run: go mod init
- name: Test - name: Test
run: go test -v ./... run: go test -v