File tree Expand file tree Collapse file tree 4 files changed +23
-22
lines changed
Expand file tree Collapse file tree 4 files changed +23
-22
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66 branches : ["main"]
77jobs :
8- test :
9- strategy :
10- matrix :
11- platform : [ubuntu-latest, macos-latest]
12- runs-on : ${{ matrix.platform }}
13- steps :
14- - uses : actions/checkout@v4
15- - name : Set up Go
16- uses : actions/setup-go@v5
17- with :
18- go-version : ' 1.24'
19- - name : Test
20- run : go test -v ./...
218 lint :
229 runs-on : ubuntu-latest
2310 steps :
24- - uses : actions/checkout@v4
11+ - uses : actions/checkout@v6
2512 - name : Set up Go
26- uses : actions/setup-go@v5
13+ uses : actions/setup-go@v6
2714 with :
28- go-version : ' 1.24 '
15+ go-version : ' 1.25.0 '
2916 - name : Check if `go fmt` and `go mod tidy` make any changes
3017 run : |
3118 set -x
3219 go fmt ./...
3320 go mod tidy
3421 git diff --exit-code
22+ test :
23+ strategy :
24+ matrix :
25+ platform : [ubuntu-latest, macos-latest]
26+ runs-on : ${{ matrix.platform }}
27+ needs : lint
28+ steps :
29+ - uses : actions/checkout@v6
30+ - name : Set up Go
31+ uses : actions/setup-go@v6
32+ with :
33+ go-version : ' 1.25.0'
34+ - name : Test
35+ run : go test -v ./...
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ jobs:
2020 runs-on : ubuntu-22.04
2121 steps :
2222 - name : Checkout code
23- uses : actions/checkout@v4
23+ uses : actions/checkout@v6
2424 - name : Set up Go
25- uses : actions/setup-go@v5
25+ uses : actions/setup-go@v6
2626 with :
27- go-version : " 1.24 "
27+ go-version : " 1.25.0 "
2828 - name : Get release version
2929 id : get_version
3030 run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 11{
22 lib ,
3- buildGoModule ,
3+ buildGo125Module ,
44 version ? "dev" ,
55} :
66
7- buildGoModule {
7+ buildGo125Module {
88 inherit version ;
99 pname = "jjui" ;
1010
Original file line number Diff line number Diff line change 66 name = "jjui-dev" ;
77 buildInputs = with pkgs ; [
88 # Go toolchain
9- go
9+ go_1_25
1010 gotools
1111
1212 jujutsu
You can’t perform that action at this time.
0 commit comments