try to fix hosts in ci
Some checks failed
CI / Rust project (push) Failing after 48s

This commit is contained in:
fabolous005 2023-11-23 17:39:40 +01:00
parent 0b136c2e08
commit 6e8d90d8c8

View File

@ -1,7 +1,5 @@
on: [push] on: [push]
name: CI name: CI
jobs: jobs:
build_and_test: build_and_test:
name: Rust project name: Rust project
@ -12,6 +10,10 @@ jobs:
with: with:
toolchain: stable toolchain: stable
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
container:
image: actions-rs/cargov1
options: --add-host server1:192.168.2.101 \
--add-host server2:192.168.2.102
with: with:
command: build command: build
args: --release --all-features args: --release --all-features