Merge pull request #147 from max/actions-update

Update Actions format to new workflow declaration
This commit is contained in:
Gary Ewan Park 2019-08-19 19:30:23 +01:00 committed by GitHub
commit 4b9bbb6257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 13 deletions

13
.github/main.workflow vendored
View File

@ -1,13 +0,0 @@
workflow "Lint Awesome List on Pull Request" {
resolves = ["max/awesome-lint"]
on = "pull_request"
}
action "max/awesome-lint" {
uses = "max/awesome-lint@1.0.0"
}
workflow "Lint Awesome List on Push" {
on = "push"
resolves = ["max/awesome-lint"]
}

9
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,9 @@
name: Lint Awesome List
on: [push, pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1.0.0
- uses: max/awesome-lint@1.0.0