Skip to content

Commit

Permalink
changing how ci runs
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbox-irl committed Sep 29, 2024
1 parent 96aec12 commit 1a00b5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ on:
jobs:
rustfmt:
name: Check rustfmt
# this is pretty weird, but `winit` requires a backend on linux
# and we don't specify that at all and just let end users do that
runs-on: windows-latest
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
Expand All @@ -19,7 +17,9 @@ jobs:

test:
name: Run linter
runs-on: ubuntu-latest
# this is pretty weird, but `winit` requires a backend on linux
# and we don't specify that at all and just let end users do that
runs-on: windows-latest
if: github.ref == 'refs/heads/main'
env:
RUSTFLAGS: -D warnings
Expand Down

0 comments on commit 1a00b5a

Please sign in to comment.