name: Matrix on: - pull_request - push jobs: main: strategy: matrix: rust: - stable - beta - nightly name: ${{matrix.rust}} runs-on: x86_64-linux steps: - run: /bin/echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: /bin/echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: /bin/echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@v1 with: toolchain: ${{matrix.rust}} components: rustfmt, clippy - run: rustup --version - run: rustc -vV - run: cargo clippy -- --deny clippy::pedantic - run: cargo fmt --all -- --check - run: cargo test