Skip to content

Commit 49a7dc7

Browse files
ci: converting to earthly/actions-setup@v1 (#20)
1 parent ff0bd62 commit 49a7dc7

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Download Earthly v0.8.6.
15-
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.6/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.6
1618
- name: Checkout code.
1719
uses: actions/checkout@v4
1820
- name: Compile.

.github/workflows/conventional-commits.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Download Earthly v0.8.6.
15-
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.6/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.6
1618
- name: Checkout code.
1719
uses: actions/checkout@v4
1820
with:

.github/workflows/git-history.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Download Earthly v0.8.6.
15-
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.6/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.6
1618
- name: Checkout code.
1719
uses: actions/checkout@v4
1820
with:

.github/workflows/github-actions-workflows.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Download Earthly v0.8.6.
15-
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.6/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.6
1618
- name: Checkout code.
1719
uses: actions/checkout@v4
1820
- name: Check GitHub Actions workflows linting.
@@ -22,7 +24,9 @@ jobs:
2224
runs-on: ubuntu-latest
2325
steps:
2426
- name: Download Earthly v0.8.6.
25-
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.8.6/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.6
2630
- name: Checkout code.
2731
uses: actions/checkout@v4
2832
- name: Check formatting.

0 commit comments

Comments
 (0)