Skip to content

Commit baf6792

Browse files
authored
Merge pull request #27 from riclolsen/master
Update Actions - Go compilation
2 parents 43e08f1 + 053ae21 commit baf6792

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/calculations-go.yml

+2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
- name: Get dependencies
2626
working-directory: src/calculations
2727
run: |
28+
apt-get install libpcap-dev
2829
go env -w GO111MODULE=auto
2930
go get -v -t -d ./...
31+
go mod tidy
3032
if [ -f Gopkg.toml ]; then
3133
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
3234
dep ensure

.github/workflows/i104m-go.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go 1.x
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: ^1.22
19+
go-version: ^1.24
2020
id: go
2121

2222
- name: Check out code into the Go module directory
@@ -25,8 +25,10 @@ jobs:
2525
- name: Get dependencies
2626
working-directory: src/i104m
2727
run: |
28+
apt-get install libpcap-dev
2829
go env -w GO111MODULE=auto
2930
go get -v -t -d ./...
31+
go mod tidy
3032
if [ -f Gopkg.toml ]; then
3133
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
3234
dep ensure

0 commit comments

Comments
 (0)