Skip to content

Commit

Permalink
use micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
KasukabeDefenceForce committed Aug 21, 2024
1 parent 3fb40a9 commit e3b9b9b
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,29 @@ name: codespell
on:
push:
branches:
- development
- main
pull_request:
- "*"

pull_request_target:
branches:
- development
- master

jobs:
codespell:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v5
- name: Setup micromamba
uses: mamba-org/setup-micromamba@v1
with:
python-version: '3.10'
cache: "pip"
environment-name: fetch-env
create-args: >-
python
- name: Install dependencies
run: pip install -r ./requirements.txt
- name: Install Codespell
run: pip install codespell==1.10.0

- name: Run codespell
run: |
codespell
codespell

0 comments on commit e3b9b9b

Please sign in to comment.