File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 1515 language : [rust, shell]
1616 steps :
1717 - name : Download Earthly v0.8.12.
18- run : " sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
18+ uses : earthly/actions-setup@v1
19+ with :
20+ version : v0.8.12
1921 - name : Checkout code.
2022 uses : actions/checkout@v4
2123 - name : Check formatting.
2830 language : [rust, shell]
2931 steps :
3032 - name : Download Earthly v0.8.12.
31- run : " sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
33+ uses : earthly/actions-setup@v1
34+ with :
35+ version : v0.8.12
3236 - name : Checkout code.
3337 uses : actions/checkout@v4
3438 - name : Check linting.
3842 runs-on : ubuntu-latest
3943 steps :
4044 - name : Download Earthly v0.8.12.
41- run : " sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
45+ uses : earthly/actions-setup@v1
46+ with :
47+ version : v0.8.12
4248 - name : Checkout code.
4349 uses : actions/checkout@v4
4450 - name : Compile.
4854 runs-on : ubuntu-latest
4955 steps :
5056 - name : Download Earthly v0.8.12.
51- run : " sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
57+ uses : earthly/actions-setup@v1
58+ with :
59+ version : v0.8.12
5260 - name : Checkout code.
5361 uses : actions/checkout@v4
5462 - name : Unit test.
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Download Earthly v0.8.12.
15- run : " sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
15+ uses : earthly/actions-setup@v1
16+ with :
17+ version : v0.8.12
1618 - name : Checkout code.
1719 uses : actions/checkout@v4
1820 with :
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Download Earthly v0.8.12.
15- run : " sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
15+ uses : earthly/actions-setup@v1
16+ with :
17+ version : v0.8.12
1618 - name : Checkout code.
1719 uses : actions/checkout@v4
1820 with :
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Download Earthly v0.8.12.
15- run : " sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
15+ uses : earthly/actions-setup@v1
16+ with :
17+ version : v0.8.12
1618 - name : Checkout code.
1719 uses : actions/checkout@v4
1820 - name : Check GitHub Actions workflows linting.
2224 runs-on : ubuntu-latest
2325 steps :
2426 - name : Download Earthly v0.8.12.
25- run : " sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.12/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
27+ uses : earthly/actions-setup@v1
28+ with :
29+ version : v0.8.12
2630 - name : Checkout code.
2731 uses : actions/checkout@v4
2832 - name : Check formatting.
You can’t perform that action at this time.
0 commit comments