Skip to content

Commit

Permalink
add a workflow to check rust code
Browse files Browse the repository at this point in the history
want to be sure it builds
  • Loading branch information
Niko Matsakis committed Dec 13, 2024
1 parent 279bce1 commit b6f11cd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Compile Rust code

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build and check
run: cargo check --workspace

0 comments on commit b6f11cd

Please sign in to comment.