Skip to content

Commit

Permalink
build: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
crisog committed Jul 13, 2024
1 parent e2d393a commit efc18c0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Rust Build

on:
pull_request:

env:
CARGO_TERM_COLOR: always

permissions:
pull-requests: write
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
branches: ["main"]
paths-ignore:
- "README.md"
pull_request:
branches: ["main"]
paths-ignore:
- "README.md"

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit efc18c0

Please sign in to comment.