Skip to content

Commit

Permalink
Fix runner
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielbosio committed Oct 8, 2024
1 parent 16e80cf commit 78408e5
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/build-and-test-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ on:
pull_request:
branches: ["*"]
paths:
- 'batcher/**'
- '.github/workflows/build-rust.yml'
env:
HOME: ${{ github.workspace }}
- "batcher/**"
- ".github/workflows/build-rust.yml"

jobs:
build:
runs-on: ubuntu-custom
runs-on: aligned-runner

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -48,17 +47,11 @@ jobs:
cargo build --all
test:
runs-on: ubuntu-custom
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
override: true
- name: Cache Rust dependencies
uses: actions/cache@v3
with:
Expand Down

0 comments on commit 78408e5

Please sign in to comment.