chore(deps): bump openssl from 0.10.40 to 0.10.55 #53
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: Macos Builds | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v3 | |
# selecting a toolchain either by action or manual `rustup` calls should happen | |
# before the plugin, as it uses the current rustc version as its cache key | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
components: clippy | |
override: true | |
- name: Cache .cargo/bin | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-cargo-dir | |
with: | |
path: /Users/runner/.cargo/bin/ | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: Install sccache | |
run: if [ -e ~/.cargo/bin/sccache ] ; then echo "Sccache is already installed"; else cargo install sccache -f; fi | |
- name: Install zld | |
run: if [ -e /usr/local/bin/zld ]; then brew link zld; else brew install michaeleisel/zld/zld; fi | |
- name: Install fleet | |
run: cargo install --path . fleet-rs -f | |
- name: Run app using fleet | |
run: fleet build -- --bin fleet | |
- name: Install cargo bloat | |
run: if [ -e ~/.cargo/bin/cargo-bloat ] ; then echo "Bloat is already installed"; else cargo install cargo-bloat -f; fi | |
- name: Run bloat analysis | |
run: fleet bloat |