Skip to content

Update reverse.rs #1574

Update reverse.rs

Update reverse.rs #1574

Workflow file for this run

name: build
on:
pull_request:
workflow_dispatch:
schedule:
- cron: '51 2 * * 4'
jobs:
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cargo fmt
run: cargo fmt --all -- --check
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cargo clippy
run: cargo clippy --all --all-targets -- -D warnings
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cargo test
run: cargo test --all -- --test-threads=1
- name: Install codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
sudo mv codecov /usr/local/bin
- name: Upload coverage to Codecov
run: codecov -f target/debug/deps/*.gcov -t ${{ secrets.CODECOV_TOKEN }} || echo "Codecov upload failed"