Merge fc0a7c599a9d375478fd542e730ce602b65e0763 into sapling-pr-archiv… #19888
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: Packer | |
# This action runs on 'git push' and PRs | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup toolchain | |
uses: dtolnay/rust-toolchain@stable | |
# The selection of Rust toolchain is made based on the particular '@rev' | |
# of this Action being requested. For example "dtolnay/rust-toolchain@nightly" | |
# pulls in the nightly Rust toolchain, while "dtolnay/[email protected]" | |
# pulls in '1.42.0'. | |
- name: Test | |
run: cd packer && cargo test | |
- name: Format | |
run: cd packer && cargo fmt -- --check | |
continue-on-error: true | |
- name: Lint | |
run: cd packer && cargo clippy -- -Dwarnings | |
continue-on-error: true |