-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (36 loc) · 979 Bytes
/
checks.yaml
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
name: Sanity Checks
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: pre-commit/[email protected]
tagging:
name: "Tagging (dry-run)"
needs: pre-commit
runs-on: ubuntu-latest
outputs:
net_tag: ${{ steps.tag_version.outputs.new_tag }}
steps:
- uses: actions/[email protected]
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: true
- run: echo "Calculated Next Tag is ${{ steps.tag_version.outputs.tags }}"
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: arduino/setup-task@v1
- name: Lint and tests
run: |
task test