Fixed usage of Self
in a model's fields
#271
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Test for Windows | |
on: | |
push: | |
paths-ignore: | |
- "*.md" | |
pull_request: | |
jobs: | |
build_rs: | |
name: Build & Tests on Windows | |
runs-on: windows-latest | |
permissions: | |
contents: read | |
security-events: write | |
actions: read | |
env: | |
CARGO_TERM_COLOR: always | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked. | |
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029 | |
- run: | | |
rustup set auto-self-update disable | |
rustup toolchain install stable --profile minimal | |
- uses: Swatinem/rust-cache@v2 | |
- name: Build rorm with tokio | |
run: cargo build -p rorm -F tokio | |
- name: Build rorm with async-std | |
run: cargo build -p rorm -F async-std |