chore(deps): bump bstr from 1.4.0 to 1.6.2 #156
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: main | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
SCCACHE_REGION: us-east-1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Format | |
env: | |
SCCACHE_BUCKET: ${{ secrets.SCCACHE_BUCKET }} | |
SCCACHE_AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_AWS_ACCESS_KEY_ID }} | |
SCCACHE_AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_AWS_SECRET_ACCESS_KEY }} | |
run: | | |
docker run \ | |
--rm \ | |
--tty \ | |
--volume "$PWD:/code" \ | |
--workdir /code \ | |
--env SCCACHE_REGION \ | |
--env SCCACHE_BUCKET \ | |
--env SCCACHE_AWS_SECRET_ACCESS_KEY \ | |
--env SCCACHE_AWS_ACCESS_KEY_ID \ | |
scoots/rust-con-sccache:latest \ | |
cargo fmt --all -- --check --verbose | |
- name: Test | |
env: | |
SCCACHE_BUCKET: ${{ secrets.SCCACHE_BUCKET }} | |
SCCACHE_AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_AWS_ACCESS_KEY_ID }} | |
SCCACHE_AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_AWS_SECRET_ACCESS_KEY }} | |
run: | | |
docker run \ | |
--rm \ | |
--tty \ | |
--volume "$PWD:/code" \ | |
--workdir /code \ | |
--env SCCACHE_REGION \ | |
--env SCCACHE_BUCKET \ | |
--env SCCACHE_AWS_SECRET_ACCESS_KEY \ | |
--env SCCACHE_AWS_ACCESS_KEY_ID \ | |
scoots/rust-con-sccache:latest \ | |
bash -c 'cargo test --verbose --all && sccache-wrapper.sh --show-stats' |