Skip to content

Commit

Permalink
ci: use reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton authored Jul 2, 2024
1 parent ac41eb0 commit 434e422
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 434e422

Please sign in to comment.