-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 861 Bytes
/
lint.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
# This file was written by Damien Dart, <[email protected]>. This is
# free and unencumbered software released into the public domain. For
# more information, please refer to the accompanying "UNLICENCE" file.
---
name: 'Lint Project'
on:
push:
branches:
- 'master'
jobs:
lint:
name: 'Lint project'
runs-on: 'ubuntu-20.04'
steps:
- name: 'Check out repository'
uses: 'actions/checkout@v3'
- name: 'Set up Python environment'
uses: 'actions/setup-python@v4'
with:
cache: 'pip'
python-version: '3.11'
- name: 'Install Task'
run: 'curl -sL https://taskfile.dev/install.sh | sh'
- name: 'Install project dependencies and run all linting-related tasks'
run: |
./bin/task start
source .venv/bin/activate
./bin/task ci