Merge 000af47ebae0e9e867dbd4dea445f17fe61b11bc into sapling-pr-archiv… #19890
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 |