Update Actions format to new workflow declaration

This commit is contained in:
Max Schoening 2019-08-19 10:54:40 -07:00
parent 0a2a47b3f0
commit 6760683639
2 changed files with 8 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"]
}

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

@ -0,0 +1,8 @@
name: Lint Awesome List
on: [push, pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: max/awesome-lint@1.0.0