forked from probabl-ai/skore-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 866 Bytes
/
Copy pathlint.yml
File metadata and controls
39 lines (32 loc) · 866 Bytes
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
name: lint
on:
pull_request:
push:
branches:
- main
merge_group:
types: [checks_requested]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
defaults:
run:
shell: "bash"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up pixi
uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
with:
environments: lint
# Install strictly from the committed pixi.lock so CI runs against the
# locked dependencies. The lock file is refreshed by the weekly
# update_pixi_lock_files workflow.
frozen: true
- name: Lint
run: pixi run -e lint lint