Skip to content

Commit 7a130b0

Browse files
committed
Try: fix CI
1 parent 6a95cb8 commit 7a130b0

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/ci.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches:
6-
- main
75
pull_request:
8-
branches:
9-
- main
106

117
env:
128
CARGO_TERM_COLOR: always
@@ -17,17 +13,20 @@ jobs:
1713
runs-on: ubuntu-latest
1814

1915
steps:
20-
- name: Checkout repository
21-
uses: actions/checkout@v3
16+
- name: Checkout
17+
uses: actions/checkout@v4
2218

23-
- name: Setup compose
24-
run: docker compose up -d
19+
- name: Setup
20+
run: docker compose up db minio minio-mc -d
21+
22+
- name: Build
23+
run: rustup update stable && rustup default stable && cargo build --verbose
2524

2625
- name: Format
27-
run: docker exec -i ogcapi cargo fmt --all -- --check
26+
run: cargo fmt --all -- --check
2827

2928
- name: Clippy
30-
run: docker exec -i ogcapi cargo clippy --workspace --all-features --examples --tests -- -D warnings
29+
run: cargo clippy --workspace --all-features --examples --tests -- -D warnings
3130

3231
- name: Test
33-
run: docker exec -i ogcapi cargo test --workspace --all-features
32+
run: cargo test --workspace --all-features --verbose

0 commit comments

Comments
 (0)