From 434e422e63e5994e41e48883cd8180234c7f723e Mon Sep 17 00:00:00 2001 From: lea Date: Mon, 1 Jul 2024 22:19:47 -0700 Subject: [PATCH] ci: use reusable workflow --- .github/workflows/rust.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 31000a2..d52fb0c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,21 +2,8 @@ name: Rust on: push: - branches: [ "main" ] pull_request: - branches: [ "main" ] - -env: - CARGO_TERM_COLOR: always jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose + rust: + uses: FyraLabs/actions/.github/workflows/rust.yml@main \ No newline at end of file