isomer/.gitea/workflows/build.yaml
fabolous005 6e8d90d8c8
Some checks failed
CI / Rust project (push) Failing after 48s
try to fix hosts in ci
2023-11-23 17:39:40 +01:00

20 lines
487 B
YAML

on: [push]
name: CI
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- 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:
command: build
args: --release --all-features