crates.io keyword limit (#37) #120
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: monorail | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
monorail: | |
name: monorail | |
runs-on: ubuntu-latest | |
env: | |
MONORAIL_TEST_DIR : ${{ github.workspace }}/tmp | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
rustflags: "" | |
- run: | | |
sudo chown -R $USER:$USER ${{ github.workspace }} | |
mkdir -p "$MONORAIL_TEST_DIR" | |
git config --global user.name "FIRST_NAME LAST_NAME" | |
git config --global user.email "[email protected]" | |
- run: cargo clippy --locked -- -D warnings | |
- run: cargo build --locked | |
- run: cargo test --locked -- --nocapture |