Skip to content

Commit

Permalink
Remove actions-rs based actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ja573 committed Mar 14, 2024
1 parent b0dd0b9 commit dd79ec8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 33 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/build_test_and_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,39 +34,22 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build binary
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose
run: cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --verbose
run: cargo test --workspace --verbose
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run linting
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all --all-targets --all-features -- -D warnings
run: cargo clippy --all --all-targets --all-features -- -D warnings
format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
- name: Run format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check
15 changes: 3 additions & 12 deletions .github/workflows/run_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build binary
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose
run: cargo build --verbose
- name: Run migrations
uses: actions-rs/cargo@v1
with:
command: run
args: migrate
run: cargo run migrate
- name: Revert migrations
uses: actions-rs/cargo@v1
with:
command: run
args: migrate --revert
run: cargo run migrate --revert

0 comments on commit dd79ec8

Please sign in to comment.