Skip to content

Commit

Permalink
updated build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ameya-deshmukh committed Oct 25, 2024
1 parent c5d8b01 commit 9582068
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ jobs:
components: rustfmt
- run: cargo fmt --all --check

# build:
# runs-on: ubuntu-latest
# timeout-minutes: 30
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@stable
# - uses: Swatinem/rust-cache@v2
# with:
# shared-key: "build-cache"
# - name: cargo build without flags
# run: cargo build
# - name: cargo check warnings
# run: RUSTFLAGS="-D warnings" cargo check
# - name: cargo test
# run: cargo test
build:
runs-on: self-hosted
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: "build-cache"
- name: cargo build without flags
run: cargo build
- name: cargo check warnings
run: RUSTFLAGS="-D warnings" cargo check
- name: cargo test
run: cargo test

0 comments on commit 9582068

Please sign in to comment.