mirror of
https://github.com/sdras/awesome-actions.git
synced 2024-10-01 00:55:38 -04:00
Merge pull request #147 from max/actions-update
Update Actions format to new workflow declaration
This commit is contained in:
commit
4b9bbb6257
13
.github/main.workflow
vendored
13
.github/main.workflow
vendored
@ -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
9
.github/workflows/lint.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user