-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (38 loc) · 1.02 KB
/
Copy pathpr.yml
File metadata and controls
38 lines (38 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: pr
on:
# Trigger the workflow on push or pull request,
# but only for the master branch.
push:
branches:
- master
pull_request:
# Note: 'branches' and 'branches-ignore' are target PR branches
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags
# "For a 'pull_request' event, only branches and tags on the base are evaluated."
branches:
- "*"
jobs:
lint:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Print versions
run: |
bash -c 'echo $BASH_VERSION'
make --version
- name: Run lint checks
run: |
echo Run tests here
test:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Print versions
run: |
bash -c 'echo $BASH_VERSION'
make --version
- name: Run tests
run: |
echo Run tests here