Skip to content

Commit

Permalink
Updated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
f-str committed Apr 24, 2024
1 parent b635ffd commit 45f98aa
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/pull-requests-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,6 @@ on:
- 'main'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
run: cargo build --release
base:
uses: ./.github/workflows/base.yml

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Format check
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy -- -D warnings

0 comments on commit 45f98aa

Please sign in to comment.