1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Merge pull request #1103 from irssi/ailin-nemui/workflows-v2

Migrate push workflow to yaml
This commit is contained in:
ailin-nemui 2019-08-27 10:14:48 +02:00 committed by GitHub
commit d627bf5f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 27 deletions

27
.github/main.workflow vendored
View File

@ -1,27 +0,0 @@
# workflow "Check Irssi" {
# on = "push"
# resolves = [
# "script",
# "unit_tests",
# ]
# }
action "install" {
uses = "irssi-import/actions-irssi/check-irssi@master"
args = "before_install install"
}
action "script" {
uses = "irssi-import/actions-irssi/check-irssi@master"
needs = ["install"]
args = "before_script script after_script"
env = {
TERM = "xterm"
}
}
action "unit_tests" {
uses = "irssi-import/actions-irssi/check-irssi@master"
needs = ["install"]
args = "unit_tests after_unit_tests"
}

21
.github/workflows/push.yml vendored Normal file
View File

@ -0,0 +1,21 @@
on: [push]
name: Check Irssi
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: install
uses: irssi-import/actions-irssi/check-irssi@master
with:
args: before_install install
- name: unit_tests
uses: irssi-import/actions-irssi/check-irssi@master
with:
args: unit_tests after_unit_tests
- name: script
uses: irssi-import/actions-irssi/check-irssi@master
env:
TERM: xterm
with:
args: before_script script after_script