1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Install toolchain
14- uses : actions-rs/toolchain@v1
15- with :
16- toolchain : nightly
17- override : true
14+ uses : actions-rust-lang/setup-rust-toolchain@v1
1815
1916 - name : Checkout Sources
2017 uses : actions/checkout@v4
3532 runs-on : ubuntu-latest
3633 steps :
3734 - name : Install toolchain
38- uses : actions-rs/ toolchain@v1
35+ uses : actions-rust-lang/setup-rust- toolchain@v1
3936 with :
40- toolchain : nightly
41- override : true
4237 components : clippy
4338 profile : minimal
4439
5752 run : make clippy
5853
5954 tests :
55+ needs : [clippy, check]
6056 name : tests
6157 runs-on : ubuntu-latest
6258 strategy :
6561 test : [postgres, mysql, mariadb, mssql, unittest, distributed_caching]
6662 steps :
6763 - name : Install toolchain
68- uses : actions-rs/ toolchain@v1
64+ uses : actions-rust-lang/setup-rust- toolchain@v1
6965 with :
70- toolchain : nightly
71- override : true
7266 profile : minimal
7367
7468 - name : Checkout Sources
8680 run : make ${{ matrix.test }}
8781
8882 docker :
89- needs : [tests, clippy, check ]
83+ needs : [tests]
9084 name : docker
9185 runs-on : ubuntu-latest
9286 steps :
@@ -112,19 +106,14 @@ jobs:
112106 push : true
113107 tags : ghcr.io/onelitefeathernet/feedback-fusion:${{env.VERSION}},ghcr.io/onelitefeathernet/feedback-fusion:latest
114108
115- integration :
109+ dashboard :
116110 needs : [docker]
117- name : dockerize integration test
111+ name : docker
118112 runs-on : ubuntu-latest
119113 steps :
120114 - name : Checkout Sources
121115 uses : actions/checkout@v4
122116
123- - name : Extract version
124- run : |
125- VERSION=$(grep '^version = ' Cargo.toml | sed -E 's/version = "(.*)"/\1/')
126- echo "VERSION=$VERSION" >> $GITHUB_ENV
127-
128117 - name : Login into repository
129118 uses : docker/login-action@v3
130119 with :
@@ -136,9 +125,9 @@ jobs:
136125 uses : docker/build-push-action@v6
137126 with :
138127 context : .
128+ file : ./dashboard/Dockerfile
139129 push : true
140- file : tests/integration/Dockerfile
141- tags : ghcr.io/onelitefeathernet/feedback-fusion-integration:${{env.VERSION}},ghcr.io/onelitefeathernet/feedback-fusion-integration:latest
130+ tags : ghcr.io/onelitefeathernet/feedback-fusion-dashboard:${{env.VERSION}},ghcr.io/onelitefeathernet/feedback-fusion-dashboard:latest
142131
143132 docs :
144133 needs : [docker]
0 commit comments