Skip to content

Commit

Permalink
feat: upgrade build
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Jan 18, 2025
1 parent 2f646b2 commit 7ae6e14
Show file tree
Hide file tree
Showing 3 changed files with 509 additions and 9 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,29 @@ name: Rust

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

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose
Loading

0 comments on commit 7ae6e14

Please sign in to comment.