aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
blob: 97598e4650b8068657bc6f06a1329575e7db51ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
        run: ./tools/do
  test:
    runs-on: ubuntu-latest
    needs: build
    steps:
      - run: ./tools/do test
      - run: shellspec