aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml9
-rw-r--r--.github/workflows/main.yml18
2 files changed, 9 insertions, 18 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..62ca94c
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,9 @@
+image: alpine/edge
+packages:
+ - curl
+tasks:
+ - build: |
+ make
+ - test: |
+ curl -fsSL https://git.io/shellspec | sh -s -- -y
+ make test
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
deleted file mode 100644
index b9bcbbe..0000000
--- a/.github/workflows/main.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-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