File tree 1 file changed +14
-9
lines changed
1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : ci
2
2
3
3
on :
4
4
pull_request :
@@ -16,34 +16,39 @@ permissions:
16
16
17
17
jobs :
18
18
test :
19
- name : Tests
19
+ name : test
20
20
runs-on : ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
21
21
steps :
22
22
- name : Checkout
23
23
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24
24
with :
25
25
fetch-depth : 0
26
26
- run : |
27
- make test
27
+ cd "Coder Desktop" && make test
28
28
format :
29
- name : Format
29
+ name : format
30
30
runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest'}}
31
31
steps :
32
32
- name : Checkout
33
33
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34
34
with :
35
35
fetch-depth : 0
36
36
- run : |
37
- make fmt
37
+ cd "Coder Desktop" && make fmt
38
38
lint :
39
- name : Format
39
+ name : foramt
40
40
runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest'}}
41
- container :
42
- image : ghcr.io/realm/swiftlint:0.57.1
43
41
steps :
44
42
- name : Checkout
45
43
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
46
44
with :
47
45
fetch-depth : 0
46
+ - name : Install Swiftlint 0.57.1
47
+ run : |
48
+ git clone [email protected] :realm/SwiftLint.git \
49
+ && cd SwiftLint \
50
+ && git submodule update --init --recursive \
51
+ && git checkout 25f2776977e663305bee71309ea1e34d435065f1 \
52
+ && make install && cd ../
48
53
- run : |
49
- make lint
54
+ cd "Coder Desktop" && make test
You can’t perform that action at this time.
0 commit comments