Cargo: replace coreos with flatcar, update author, version #43
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: Run Rust CI | |
on: | |
push: | |
branches: | |
- flatcar-master | |
pull_request: | |
branches: | |
- flatcar-master | |
jobs: | |
build-test: | |
name: Build and test update-ssh-keys | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- run: rustup component add rustfmt | |
- name: Rustfmt Check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all --check | |
- name: Build update-ssh-keys | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --verbose | |
- name: Run unit tests of update-ssh-keys | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --verbose |