Skip to content

Commit

Permalink
fix: only run windows check on windows runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Jan 22, 2025
1 parent 22a5c10 commit 027096f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
check-reth:
runs-on: ubuntu-20.04
runs-on: windows-latest
timeout-minutes: 60

steps:
Expand All @@ -24,13 +24,13 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: mingw-w64
run: sudo apt-get install -y mingw-w64
# - name: mingw-w64
# run: sudo apt-get install -y mingw-w64
- name: Check Reth
run: cargo check --target x86_64-pc-windows-gnu

check-op-reth:
runs-on: ubuntu-20.04
runs-on: windows-latest
timeout-minutes: 60

steps:
Expand All @@ -43,7 +43,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: mingw-w64
run: sudo apt-get install -y mingw-w64
# - name: mingw-w64
# run: sudo apt-get install -y mingw-w64
- name: Check OP-Reth
run: cargo check -p op-reth --features optimism --target x86_64-pc-windows-gnu

0 comments on commit 027096f

Please sign in to comment.