Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mara-schulke committed Feb 9, 2024
1 parent 6a580a7 commit e960131
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: rustup update && rustup component add rustfmt
- run: cargo fmt --check --all --features sqlite
- run: cargo fmt --check --all --features postgres
- run: cargo fmt --check --all --features mysql
- run: cargo fmt --check --all --features atmosphere-core/sqlite
- run: cargo fmt --check --all --features atmosphere-core/postgres
- run: cargo fmt --check --all --features atmosphere-core/mysql

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup update && rustup component add clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-targets --workspace --features sqlite -- -D warnings -D clippy::all
- run: cargo clippy --all-targets --workspace --features postgres -- -D warnings -D clippy::all
- run: cargo clippy --all-targets --workspace --features mysql -- -D warnings -D clippy::all
- run: cargo clippy --all-targets --workspace --features atmosphere-core/sqlite -- -D warnings -D clippy::all
- run: cargo clippy --all-targets --workspace --features atmosphere-core/postgres -- -D warnings -D clippy::all
- run: cargo clippy --all-targets --workspace --features atmosphere-core/mysql -- -D warnings -D clippy::all

test:
runs-on: ubuntu-latest
Expand All @@ -39,10 +39,10 @@ jobs:
compose-file: "./tests/postgres.yml"
- run: rustup update
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace --features postgres
- run: cargo test --workspace --features atmosphere-core/postgres
env:
RUST_BACKTRACE: 1
DATABASE_URL: postgres://atmosphere:atmosphere@localhost:5432
DATABASE_URL: postgres://atmosphere:atmosphere@localh/ost:5432

typos:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e960131

Please sign in to comment.