-
Notifications
You must be signed in to change notification settings - Fork 25
32 lines (27 loc) · 809 Bytes
/
analyze.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
name: Analyze
# On all pushes to branches and pull requests in general.
on:
push:
pull_request:
permissions:
contents: read
jobs:
analyze:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: ~/.cache/pip
key: ${{ runner.os}}-pip-${{ hashFiles('**/.*-requirements.txt') }}
restore-keys: |
${{ runner.os}}-pip-
- name: Analyze
run: ./misc/actions/analyze.sh