Skip to content

Commit 06f984a

Browse files
committed
Add mise
1 parent a81725d commit 06f984a

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/workflows/mise.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Mise
2+
3+
on:
4+
push:
5+
schedule:
6+
- cron: "0 0 1 * *" # Midnight every month (UTC)
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
name: Build
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: jdx/mise-action@v2
16+
with:
17+
cache: true
18+
mise_toml: |
19+
[tools]
20+
go = "latest"
21+
node = "latest"
22+
python = "latest"
23+
zig = "latest"
24+
25+
- name: Check version
26+
run: |
27+
go version
28+
echo "node ${node --version}"
29+
python --version
30+
echo "zig ${zig version}"

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,19 @@ The action also includes an object with the current workflow context, references
115115

116116
</details>
117117

118+
## mise.yml
119+
120+
<details>
121+
122+
<summary>Using mise in your workflow.</summary>
123+
124+
<br/>The polyglot tool version manager.
125+
126+
[mise.yml](.github/workflows/mise.yml)
127+
- Uses [jdx/mise-action](https://github.com/jdx/mise-action)
128+
129+
</details>
130+
118131
## system_path.yml
119132

120133
<details>

0 commit comments

Comments
 (0)