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:
commit
d627bf5f7a
27
.github/main.workflow
vendored
27
.github/main.workflow
vendored
@ -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
21
.github/workflows/push.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user