-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (41 loc) · 1013 Bytes
/
validate.yml
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
39
40
41
42
43
44
45
---
name: validate
on:
push:
branches: [main]
pull_request:
release:
types: [published]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libasound2-dev
version: 1.0
- uses: actions/setup-python@v4
with:
python-version: 3.8
cache: pip
- run: python -m pip install poetry
- run: poetry install
- run: make lint
check-types:
runs-on: macos-13
timeout-minutes: 30
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install Ableton Live
run: brew install --cask ableton-live-lite
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
cache: pip
- run: python -m pip install poetry
- run: poetry install
- run: make check