Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/cargo/serde_json-1.0.138
Browse files Browse the repository at this point in the history
  • Loading branch information
Nichokas authored Jan 28, 2025
2 parents 50fecba + d51048d commit 066f6cf
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,35 @@ name: main

on:
push:
branches: [ master ]
branches: [master]
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Rust project
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: Swatinem/rust-cache@v2

- name: setup toolchain
- name: Setup Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: stable

- name: cargo test
- name: Run tests
run: cargo test --all-features

- name: clippy
clippy:
name: Clippy Checks # Nombre amigable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Setup Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: stable
- name: Run Clippy
run: cargo clippy --all --all-features --tests -- -D warnings

0 comments on commit 066f6cf

Please sign in to comment.