⚙️ Build, Test, and Lint pull requests

This commit is contained in:
Chris Araman 2021-06-27 10:55:16 -07:00
parent b87a998f11
commit 93d3cbf303
No known key found for this signature in database
GPG key ID: BB4499D9E11B61E0

View file

@ -5,23 +5,28 @@
name: Build, Test, and Lint
on: [push]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
name: Build, Test, and Lint
runs-on: macOS-latest
runs-on: macos-latest
steps:
# https://github.com/actions/checkout#usage
- uses: actions/checkout@master
# https://github.com/actions/checkout#usage
- uses: actions/checkout@v2
with:
# Fetch tags for script/version
fetch-depth: 0
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow
token: ${{ secrets.GITHUB_TOKEN }}
- name: Bootstrap
run: script/bootstrap