aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
blob: b9bcbbe5ecab6352a9416c064af0a030e158dbf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: main
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Run make
        run: make
  test:
    runs-on: ubuntu-latest
    needs: build
    steps:
      - uses: actions/checkout@v1
      - name: Install shellspec
        run: curl -fsSL https://git.io/shellspec | sudo sh -s -- -p /usr/local -y
      - name: Run tests
        run: make test