Refresh trunk-toolbox to be better than ever #116
Workflow file for this run
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: Pull Request | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build_and_test: | |
name: Cargo Test [linux] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Cargo Test | |
run: cargo test | |
trunk_check_runner: | |
name: Trunk Check runner [linux] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Caching is only needed when using ephemeral CI runners | |
- name: Cache Linters/Formatters | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/trunk | |
key: trunk-${{ runner.os }} | |
- name: Trunk Check | |
uses: trunk-io/[email protected] |