chore(deps): update dependency rhysd/actionlint to v1.7.4 #154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration (CI) | |
on: pull_request | |
env: | |
# Forcing Earthly to use colours, to make reading output easier. | |
FORCE_COLOR: 1 | |
jobs: | |
formatting: | |
name: Formatting | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
language: [rust, python, shell] | |
steps: | |
- name: Download Earthly v0.8.12. | |
uses: earthly/actions-setup@v1 | |
with: | |
version: v0.8.12 | |
- name: Checkout code. | |
uses: actions/checkout@v4 | |
- name: Check formatting. | |
run: earthly --ci +check-${{ matrix.language }}-formatting | |
linting: | |
name: Linting | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
language: [rust, shell] | |
steps: | |
- name: Download Earthly v0.8.12. | |
uses: earthly/actions-setup@v1 | |
with: | |
version: v0.8.12 | |
- name: Checkout code. | |
uses: actions/checkout@v4 | |
- name: Check linting. | |
run: earthly --ci +check-${{ matrix.language }}-linting | |
compile: | |
name: Compile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Earthly v0.8.12. | |
uses: earthly/actions-setup@v1 | |
with: | |
version: v0.8.12 | |
- name: Checkout code. | |
uses: actions/checkout@v4 | |
- name: Compile. | |
run: earthly --ci +compile | |
unit-test: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Earthly v0.8.12. | |
uses: earthly/actions-setup@v1 | |
with: | |
version: v0.8.12 | |
- name: Checkout code. | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Unit test. | |
run: earthly --ci +unit-test | |
end-to-end-test: | |
name: End to End Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Earthly v0.8.12. | |
uses: earthly/actions-setup@v1 | |
with: | |
version: v0.8.12 | |
- name: Checkout code. | |
uses: actions/checkout@v4 | |
- name: End to End test. | |
run: earthly --ci +end-to-end-test |