Skip to content

Commit 64846bf

Browse files
authored
Merge pull request #5 from norio-nomura/migrating-to-yaml-syntax
converted main.workflow to Actions V2 yml files
2 parents f93305e + 00dd939 commit 64846bf

File tree

2 files changed

+23
-22
lines changed

2 files changed

+23
-22
lines changed

.github/main.workflow

-22
This file was deleted.

.github/workflows/push.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on: push
2+
name: New workflow
3+
jobs:
4+
dockerLint:
5+
name: Docker Lint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@master
9+
- name: Docker Lint
10+
uses: docker://replicated/dockerfilelint
11+
with:
12+
args: Dockerfile
13+
- name: swift test
14+
uses: docker://norionomura/swiftlint:swift-4.2
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
with:
18+
entrypoint: swift
19+
args: test
20+
- name: Docker Build
21+
uses: actions/docker/cli@master
22+
with:
23+
args: build -t action-swiftlint .

0 commit comments

Comments
 (0)