Skip to content

Commit 6ae875d

Browse files
author
rdonah204_comcast
committed
updating the go version in go.mod and the github workflow to pull from go.mod for building in actions
1 parent 9af88c3 commit 6ae875d

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v4
2121
with:
22-
go-version: '1.20'
22+
go-version-file: 'go.mod'
2323

2424
- name: Build
2525
run: go build -v ./...

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module squatrr
22

3-
go 1.24.9
3+
go 1.24.0
4+
5+
toolchain go1.24.9
46

57
require (
68
golang.org/x/net v0.48.0

lib/processor/processor.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
package processor
2+
3+
// TODO: This is where the actual processing code from main.go should reside
4+
// TODO: implement and then move main.go to cli.go in a new directory
5+
func ProcessDomain() {
6+
7+
}

0 commit comments

Comments
 (0)