Skip to content

Commit c7c13ef

Browse files
added a lint stage to the CI
1 parent fb4bc24 commit c7c13ef

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.github/workflows/lint.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Linting
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
name: linting
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v7
13+
14+
- name: Set up Pixi Environment
15+
uses: prefix-dev/setup-pixi@v0.10.0
16+
with:
17+
cache: true
18+
manifest-path: py_gnome/pixi.toml
19+
environments: dev312
20+
21+
- name: Lint
22+
working-directory: py_gnome
23+
# continue-on-error: true
24+
run: pixi run lint

.github/workflows/pixi_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/checkout@v4
2222

2323
- name: Setup Pixi
24-
uses: prefix-dev/setup-pixi@v0.8.3
24+
uses: prefix-dev/setup-pixi@v0.10.0
2525
with:
2626
# Specify which environment from your pixi.toml to install
2727
environments: ${{ matrix.environment }}

0 commit comments

Comments
 (0)