File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ This github action installs [`mecha`](https://github.com/mcbeet/mecha) in an iso
28
28
| ----------- | --------------------- | -------------------------------------------------------------- |
29
29
| `version` | defaults to `latest` | The version of mecha to install |
30
30
| `source` | required | The list of data packs, functions files or folders to validate |
31
- | `minecraft` | defaults to `1.17 ` | The version of minecraft to use for checking commands |
31
+ | `minecraft` | defaults to `1.19 ` | The version of minecraft to use for checking commands |
32
32
| `stats` | defaults to `false` | Whether to output statistics |
33
33
| `log` | defaults to `WARNING` | The output log level |
34
34
Original file line number Diff line number Diff line change @@ -10,39 +10,39 @@ inputs:
10
10
version :
11
11
description : The version of mecha to install
12
12
required : true
13
- default : ' latest'
13
+ default : " latest"
14
14
source :
15
15
description : The list of data packs, functions files or folders to validate
16
16
required : true
17
17
minecraft :
18
18
description : The version of minecraft to use for checking commands
19
19
required : true
20
- default : ' 1.17 '
20
+ default : " 1.19 "
21
21
stats :
22
22
description : Whether to output statistics
23
23
required : true
24
24
default : " false"
25
25
log :
26
26
description : The output log level
27
27
required : true
28
- default : ' WARNING'
28
+ default : " WARNING"
29
29
30
30
runs :
31
31
using : composite
32
32
steps :
33
- - name : Setup python
34
- uses : actions/setup-python@v2
33
+ - name : Set up Python 3.10
34
+ uses : actions/setup-python@v4
35
35
with :
36
- python-version : ' 3.9 '
36
+ python-version : " 3.10 "
37
37
- name : Setup cache
38
- id : cached -mecha-venv
39
- uses : actions/cache@v2
38
+ id : cache -mecha-venv
39
+ uses : actions/cache@v3
40
40
with :
41
41
path : ~/.mecha_venv
42
42
key : mecha-venv-${{ runner.os }}-${{ inputs.version }}
43
43
- name : Run mecha
44
44
env :
45
- CACHE_HIT : ${{ steps.cached -mecha-venv.outputs.cache-hit }}
45
+ CACHE_HIT : ${{ steps.cache -mecha-venv.outputs.cache-hit }}
46
46
MECHA_VERSION : ${{ inputs.version }}
47
47
MECHA_SOURCE : ${{ inputs.source }}
48
48
MECHA_MINECRAFT : ${{ inputs.minecraft }}
You can’t perform that action at this time.
0 commit comments