source: git/.github/workflows/lint.yml @ 4f8fd1d

spielwiese
Last change on this file since 4f8fd1d was 4f8fd1d, checked in by Frédéric Chapoton <chapoton@…>, 18 months ago
trying to add a codespell linter for kernel/
  • Property mode set to 100644
File size: 642 bytes
Line 
1name: Lint
2on:
3  push: { branches: [ "spielweise" ] }
4  pull_request: { branches: [ "spielweise" ] }
5
6jobs:
7  codespell:
8    runs-on: ubuntu-20.04
9    steps:
10      - uses: actions/checkout@v2
11        with: { submodules: recursive }
12      - uses: conda-incubator/setup-miniconda@v2
13        with: { mamba-version: "*", channels: "conda-forge", channel-priority: true }
14      - name: Install dependencies
15        shell: bash -l {0}
16        run: |
17          mamba install codespell=2.2.2 pycodestyle=2.9.1
18      - name: Run codespell
19        shell: bash -l {0}
20        run: codespell --ignore-file=.codespell_ignore kernel
21
22env:
23  MAKEFLAGS: -j2
Note: See TracBrowser for help on using the repository browser.