GitHub actions (#1744)

* Add GitHub actions

* Workflow typo

* Workflow typo

* Use GITHUB_TOKEN in build if available
This commit is contained in:
Matt Haggard
2020-12-11 22:04:30 +00:00
committed by GitHub
parent 7f690d35f0
commit 868b48a5af
2 changed files with 22 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
on:
pull_request:
push:
jobs:
default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: iffy/install-nim@v3
with:
version: stable
- run: nim c -d:ssl -r package_scanner.nim
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: node ./validate_json.js