Skip to content

Commit

Permalink
ci: converting to earthly/actions-setup@v1 (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 authored Oct 7, 2024
1 parent 8ca439c commit a045cc7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
language: [shell]
steps:
- name: Download Earthly v0.8.12.
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'"
uses: earthly/actions-setup@v1
with:
version: v0.8.12
- name: Checkout code.
uses: actions/checkout@v4
- name: Check formatting.
Expand All @@ -28,7 +30,9 @@ jobs:
language: [shell]
steps:
- name: Download Earthly v0.8.12.
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'"
uses: earthly/actions-setup@v1
with:
version: v0.8.12
- name: Checkout code.
uses: actions/checkout@v4
- name: Check linting.
Expand All @@ -38,7 +42,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.8.12.
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'"
uses: earthly/actions-setup@v1
with:
version: v0.8.12
- name: Checkout code.
uses: actions/checkout@v4
- name: End to end test.
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.8.12.
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'"
uses: earthly/actions-setup@v1
with:
version: v0.8.12
- name: Checkout code.
uses: actions/checkout@v4
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/git-history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.8.12.
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'"
uses: earthly/actions-setup@v1
with:
version: v0.8.12
- name: Checkout code.
uses: actions/checkout@v4
with:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/github-actions-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.8.12.
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'"
uses: earthly/actions-setup@v1
with:
version: v0.8.12
- name: Checkout code.
uses: actions/checkout@v4
- name: Check GitHub Actions workflows linting.
Expand All @@ -22,7 +24,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.8.12.
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'"
uses: earthly/actions-setup@v1
with:
version: v0.8.12
- name: Checkout code.
uses: actions/checkout@v4
- name: Check formatting.
Expand Down

0 comments on commit a045cc7

Please sign in to comment.