File tree 1 file changed +10
-11
lines changed
1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,7 @@ name: CI
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - main
7
5
pull_request :
8
- branches :
9
- - main
10
6
11
7
env :
12
8
CARGO_TERM_COLOR : always
@@ -17,17 +13,20 @@ jobs:
17
13
runs-on : ubuntu-latest
18
14
19
15
steps :
20
- - name : Checkout repository
21
- uses : actions/checkout@v3
16
+ - name : Checkout
17
+ uses : actions/checkout@v4
22
18
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
25
24
26
25
- name : Format
27
- run : docker exec -i ogcapi cargo fmt --all -- --check
26
+ run : cargo fmt --all -- --check
28
27
29
28
- 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
31
30
32
31
- name : Test
33
- run : docker exec -i ogcapi cargo test --workspace --all-features
32
+ run : cargo test --workspace --all-features --verbose
You can’t perform that action at this time.
0 commit comments