Skip to content

Commit

Permalink
Fix workflows on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
WillLillis committed Jul 14, 2024
1 parent 837bc36 commit 9c339b3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,18 @@ jobs:
- uses: Swatinem/rust-cache@v2

- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]

- name: Set up Ruby on Windows
if: runner.os == 'Windows'
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
msys2: true

- name: Install pre-commit dependencies
run: python -m pip install pre-commit

- uses: pre-commit/[email protected]
name: Run pre-commit hooks

- name: Run Rust tests
Expand Down

0 comments on commit 9c339b3

Please sign in to comment.