File tree 4 files changed +81
-25
lines changed
4 files changed +81
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Docker Build
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ paths :
7
+ - ' .dockerignore'
8
+ - ' .github/workflows/docker-build.yml'
9
+ - ' Dockerfile'
10
+ - ' Package*'
11
+ - ' Sources/**'
12
+ - ' Tests/**'
13
+ pull_request :
14
+ paths :
15
+ - ' .dockerignore'
16
+ - ' .github/workflows/docker-build.yml'
17
+ - ' Dockerfile'
18
+ - ' Package*'
19
+ - ' Sources/**'
20
+ - ' Tests/**'
21
+
22
+ jobs :
23
+ DockerBuild :
24
+ name : Docker Build
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@master
28
+ - name : Docker Build
29
+ run : docker build -t action-swiftlint .
Original file line number Diff line number Diff line change
1
+ name : Docker Lint
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ paths :
7
+ - ' .dockerignore'
8
+ - ' .github/workflows/docker-lint.yml'
9
+ - ' Dockerfile'
10
+ pull_request :
11
+ paths :
12
+ - ' .dockerignore'
13
+ - ' .github/workflows/docker-lint.yml'
14
+ - ' Dockerfile'
15
+
16
+ jobs :
17
+ DockerLint :
18
+ name : Docker Lint
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@master
22
+ - name : Docker Lint
23
+ uses : docker://replicated/dockerfilelint
24
+ with :
25
+ args : Dockerfile
Original file line number Diff line number Diff line change
1
+ name : SwiftPM
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ paths :
7
+ - ' .github/workflows/swiftpm.yml'
8
+ - ' Package*'
9
+ - ' Sources/**'
10
+ - ' Tests/**'
11
+ pull_request :
12
+ paths :
13
+ - ' .github/workflows/swiftpm.yml'
14
+ - ' Package*'
15
+ - ' Sources/**'
16
+ - ' Tests/**'
17
+
18
+ jobs :
19
+ Linux :
20
+ runs-on : ubuntu-latest
21
+ container :
22
+ image : norionomura/swiftlint:swift-5
23
+ steps :
24
+ - uses : actions/checkout@v1
25
+ - run : swift test
26
+ env :
27
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments