Skip to content

Commit 346a72d

Browse files
committedMay 7, 2024·
Add go.mod
1 parent e5d8068 commit 346a72d

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed
 

‎.github/workflows/go.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Go
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
jobs:
1010

@@ -16,18 +16,11 @@ jobs:
1616
- name: Set up Go 1.x
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: ^1.14
19+
go-version: ^1.22
2020
id: go
2121

2222
- name: Check out code into the Go module directory
23-
uses: actions/checkout@v2
24-
25-
- name: Get dependencies
26-
run: |
27-
go get -v -t -d ./...
28-
29-
- name: Build
30-
run: go build -v .
23+
uses: actions/checkout@v4
3124

3225
- name: Test
3326
run: go test -v .

‎go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/bigkevmcd/go-cachewrapper
2+
3+
go 1.22.2

0 commit comments

Comments
 (0)