Skip to content

Commit

Permalink
Create rust.yml
Browse files Browse the repository at this point in the history
Update to Rust 1.82
Use binstall to install tools
Install cargo-binstall in github
Update to latest cargo-deny
Fix taplo lint
Format tomls with taplo
  • Loading branch information
tomsik68 committed Dec 7, 2024
1 parent 7bafd7f commit 8a7ed4b
Show file tree
Hide file tree
Showing 9 changed files with 204 additions and 119 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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
- uses: cargo-bins/cargo-binstall@main
- name: XTask install
run: cargo xt ensure-installed
- name: XTask CI
run: cargo xt ci
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
Loading

0 comments on commit 8a7ed4b

Please sign in to comment.