ci: Add ci-config.toml in .cargo folder.

This commit is contained in:
Piotr Osiewicz 2023-11-22 22:25:26 +01:00
parent 10c4df20e9
commit c04f123e44
2 changed files with 15 additions and 3 deletions

View file

@ -23,15 +23,15 @@ jobs:
- self-hosted
- test
steps:
- name: Set up default .cargo/config.toml
run: printf "[build]\nrustflags = [\"-D\", \"warnings\"]" > $HOME/.cargo/config.toml
- name: Checkout repo
uses: actions/checkout@v3
with:
clean: false
submodules: "recursive"
- name: Set up default .cargo/config.toml
run: cp ./.cargo/ci-config.toml ~/.cargo/config.toml
- name: Run rustfmt
uses: ./.github/actions/check_formatting