This repository has been archived by the owner on Dec 22, 2023. It is now read-only.
⬆️ Update all non-major dependencies #468
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: 🧪 Check | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- '**' | |
pull_request: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
name: 🧪 Check | |
runs-on: ubuntu-latest | |
services: | |
mongodb: | |
image: "mongo:4.4" | |
ports: | |
- 27017:27017 | |
steps: | |
- name: ✨ Set up the toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
target: aarch64-unknown-linux-gnu | |
override: true | |
- name: 📥 Checkout | |
uses: actions/checkout@v3 | |
- name: ⚡️ Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: 🧪 Test | |
uses: actions-rs/cargo@v1 | |
with: | |
use-cross: true | |
command: test | |
args: --target=aarch64-unknown-linux-gnu -- --include-ignored | |
env: | |
CROSS_CONTAINER_OPTS: "--network=host" | |
- name: 💬 Clippy | |
uses: actions-rs/clippy-check@v1 | |
if: github.event_name == 'pull_request' | |
continue-on-error: true | |
with: | |
use-cross: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --tests --target=aarch64-unknown-linux-gnu |