aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0a39622..add1470 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,14 +1,8 @@
name: main
on: [push, pull_request]
jobs:
- setup:
- runs-on: ubuntu-latest
- steps:
- - name: Install shellspec
- run: curl -fsSL https://git.io/shellspec | sudo sh -s -- -p /usr/local -y
build:
runs-on: ubuntu-latest
- needs: setup
steps:
- uses: actions/checkout@v1
- name: Run do
@@ -18,5 +12,9 @@ jobs:
needs: build
steps:
- uses: actions/checkout@v1
- - run: ./tools/do test
- - run: shellspec
+ - name: Install shellspec
+ run: curl -fsSL https://git.io/shellspec | sudo sh -s -- -p /usr/local -y
+ - name: Run tests
+ run: ./tools/do test
+ - name: Run shellspec
+ run: shellspec