@@ -2,10 +2,6 @@ name: Continuous Integration (CI)
22
33on : pull_request
44
5- env :
6- # Forcing Earthly to use colours, to make reading output easier.
7- FORCE_COLOR : 1
8-
95jobs :
106 formatting :
117 name : Formatting
@@ -14,50 +10,34 @@ jobs:
1410 matrix :
1511 language : [rust, shell]
1612 steps :
17- - name : Download Earthly.
18- uses : earthly/actions-setup@43211c7a0eae5344d6d79fb4aaf209c8f8866203 # v1.0.13
19- with :
20- version : v0.8.15
2113 - name : Checkout code.
2214 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2315 - name : Check formatting.
24- run : earthly --ci + check-${{ matrix.language }}-formatting
16+ run : make check-${{ matrix.language }}-formatting
2517 linting :
2618 name : Linting
2719 runs-on : ubuntu-latest
2820 strategy :
2921 matrix :
30- language : [rust, shell ]
22+ language : [rust]
3123 steps :
32- - name : Download Earthly.
33- uses : earthly/actions-setup@43211c7a0eae5344d6d79fb4aaf209c8f8866203 # v1.0.13
34- with :
35- version : v0.8.15
3624 - name : Checkout code.
3725 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3826 - name : Check linting.
39- run : earthly --ci + check-${{ matrix.language }}-linting
27+ run : make check-${{ matrix.language }}-linting
4028 compile :
4129 name : Compile
4230 runs-on : ubuntu-latest
4331 steps :
44- - name : Download Earthly.
45- uses : earthly/actions-setup@43211c7a0eae5344d6d79fb4aaf209c8f8866203 # v1.0.13
46- with :
47- version : v0.8.15
4832 - name : Checkout code.
4933 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5034 - name : Compile.
51- run : earthly --ci + compile
35+ run : make compile
5236 unit-test :
5337 name : Unit Test
5438 runs-on : ubuntu-latest
5539 steps :
56- - name : Download Earthly.
57- uses : earthly/actions-setup@43211c7a0eae5344d6d79fb4aaf209c8f8866203 # v1.0.13
58- with :
59- version : v0.8.15
6040 - name : Checkout code.
6141 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6242 - name : Unit test.
63- run : earthly --ci + unit-test
43+ run : make unit-test
0 commit comments