Merge pull request #363 from cbgbt/protect-lock #898
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: Rust | |
on: | |
# triggers when a PR is posted | |
pull_request: | |
branches: | |
- "*" | |
paths-ignore: | |
- "**.md" | |
- "**.plantuml" | |
- "**.svg" | |
# triggers when a PR is merged | |
push: | |
branches: [develop] | |
paths-ignore: | |
- "**.md" | |
- "**.plantuml" | |
- "**.svg" | |
jobs: | |
build: | |
runs-on: | |
group: bottlerocket | |
labels: bottlerocket_ubuntu-latest_16-core | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install crane for testing | |
uses: ./.github/actions/install-crane | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: cargo install cargo-deny --locked | |
- run: cargo install cargo-make --locked | |
- run: make build |