This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
[ci] Update set-output syntax #19891
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 |