Skip to content

Commit fb6ff38

Browse files
committed
mise fix
1 parent 3fc548f commit fb6ff38

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
uses: actions/checkout@v4
1010

1111
- name: Install mise
12-
uses: jdx/mise-action@v2
13-
with:
14-
version: latest
12+
run: |
13+
curl -fsSL https://mise.run | sh
14+
echo "$HOME/.local/bin" >> $GITHUB_PATH
1515
1616
- name: Install tools with mise
1717
run: |
@@ -33,6 +33,9 @@ jobs:
3333
- name: Vet
3434
run: mise exec -- just vet
3535

36+
- name: Lint
37+
run: mise exec -- just lint
38+
3639
docker:
3740
name: Docker
3841
runs-on: ubuntu-latest
@@ -48,25 +51,4 @@ jobs:
4851
with:
4952
push: false
5053
tags: skippa/gdrive-webdav
51-
Lint:
52-
name: Lint
53-
runs-on: ubuntu-latest
54-
steps:
55-
- name: Checkout
56-
uses: actions/checkout@v4
57-
58-
- name: Install mise
59-
uses: jdx/mise-action@v2
60-
with:
61-
version: latest
62-
63-
- name: Install tools with mise
64-
run: |
65-
mise install
66-
mise exec -- go version
6754

68-
- name: Install just
69-
uses: extractions/setup-just@v2
70-
71-
- name: Run linter
72-
run: mise exec -- just lint

0 commit comments

Comments
 (0)