chore(deps): bump ring from 0.17.0 to 0.17.2 #304
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: Shuttle.rs | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "v*.*.*" | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build / Deploy | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
- name: Install cargo-binstall | |
uses: taiki-e/install-action@cargo-binstall | |
- name: Install cargo-shuttle | |
run: cargo binstall -y cargo-shuttle | |
- name: Prepare for deployment | |
shell: bash | |
run: sed -i 's|default = \["rustls"\]|default = \["rustls", "shuttle"\]|g' Cargo.toml | |
- name: Build | |
run: cargo build --locked --verbose | |
- name: Deploy | |
if: ${{ startsWith(github.event.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' }} | |
run: | | |
cargo shuttle login --api-key ${{ secrets.SHUTTLE_TOKEN }} | |
cargo shuttle project restart | |
cargo shuttle deploy --allow-dirty --no-test |