Skip to content

Commit

Permalink
Create rust.yml (#16)
Browse files Browse the repository at this point in the history
* Create rust.yml

* use nightly

* Update rust.yml
  • Loading branch information
naresh97 authored Jun 17, 2024
1 parent 6f5817b commit 3bbd060
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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@v4
- name: Set toolchain
run: rustup default nightly
- name: Build
run: cargo +nightly build --verbose
- name: Run tests
run: cargo +nightly test --verbose

0 comments on commit 3bbd060

Please sign in to comment.