aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
blob: 4f430a38efd8aedc1f13b005fa563fd2b3d9eebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: test

on: [push, pull_request]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
      - name: Run tests.
        run: |
          wget https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.x86_64.tar.xz
          xz -cd shellcheck-v0.7.1.linux.x86_64.tar.xz | tar xf -
          export PATH=shellcheck-v0.7.1:$PATH
          make test