forked from Orchid/orchid
Deleted Gitea workflow
This commit is contained in:
@@ -1,29 +0,0 @@
|
|||||||
name: Rust
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Install rust toolchain
|
|
||||||
run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
|
|
||||||
- name: Build
|
|
||||||
run: $HOME/.cargo/bin/cargo build --verbose
|
|
||||||
- name: Run tests
|
|
||||||
run: $HOME/.cargo/bin/cargo test --verbose
|
|
||||||
- name: Clippy
|
|
||||||
run: $HOME/.cargo/bin/cargo clippy
|
|
||||||
- name: Formatting
|
|
||||||
run: $HOME/.cargo/bin/cargo +nightly fmt --check
|
|
||||||
- name: No unqualified imports from orchid_api
|
|
||||||
run: $HOME/.cargo/bin/cargo xtask check-api-refs
|
|
||||||
Reference in New Issue
Block a user