Skip to content

Commit

Permalink
ci: refactor ci github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
peeeuzin committed Mar 4, 2024
1 parent d07afd6 commit 7535e18
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 19 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Continuous Integration

on:
push:
pull_request:
types:
- reopened

env:
CARGO_TERM_COLOR: always

jobs:
test:
runs-on: ubuntu-latest
name: Test the application
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build the application
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

lint:
runs-on: ubuntu-latest
name: Lint the application
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Clippy
run: rustup component add clippy
- name: Run linter
run: cargo clippy --verbose --all-targets --all-features -- -D warnings
19 changes: 0 additions & 19 deletions .github/workflows/rust.yml

This file was deleted.

0 comments on commit 7535e18

Please sign in to comment.