Skip to content

Commit f79f9db

Browse files
author
Simon Prochazka
committed
chore: migrate to mise
1 parent fbbc573 commit f79f9db

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,34 @@ jobs:
66
go:
77
runs-on: ubuntu-latest
88

9-
strategy:
10-
matrix:
11-
go-version: [1.16.x]
12-
139
steps:
14-
- name: Install Go
15-
uses: actions/setup-go@v5
16-
with:
17-
go-version: ${{ matrix.go-version }}
1810
- name: Check out code into the Go module directory
1911
uses: actions/checkout@v1
12+
- name: Install mise
13+
uses: jdx/mise-action@v2
14+
- name: Install tools with mise
15+
run: mise install
16+
- name: Reshim mise
17+
run: mise reshim
2018
- name: Test
2119
run: |
2220
go install github.com/magefile/mage
21+
mise reshim
2322
mage test
2423
go-mod-tidy:
2524
name: "Go mod tidy"
2625
runs-on: ubuntu-latest
2726
steps:
28-
- name: Install Go
29-
uses: actions/setup-go@v5
30-
with:
31-
go-version: 1.24.x
3227
- name: Check out code into the Go module directory
3328
uses: actions/checkout@v1
29+
- name: Install mise
30+
uses: jdx/mise-action@v2
31+
- name: Install tools with mise
32+
run: mise install
33+
- name: Reshim mise
34+
run: mise reshim
3435
- name: Tidy check
3536
run: |
3637
go install github.com/magefile/mage
38+
mise reshim
3739
mage gomodtidy

.mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
go = "1.25.5"

0 commit comments

Comments
 (0)