Skip to content

Replace :explosion: emoji with :floofSplode: #45

Replace :explosion: emoji with :floofSplode:

Replace :explosion: emoji with :floofSplode: #45

Workflow file for this run

name: CI/CD
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
ci:
name: CI
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Spellcheck
uses: crate-ci/typos@v1.31.1
- name: Clippy
run: cargo clippy --release --verbose
cd:
name: CD
runs-on: ubuntu-24.04-arm
environment: production
concurrency: production
needs: ci
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- uses: shuttle-hq/deploy-action@v2
with:
shuttle-api-key: ${{ secrets.SHUTTLE_API_KEY }}
project-id: proj_01JHKAYMCMR2ZP8GW5Q5109TPT
cargo-shuttle-version: 0.53.0
secrets: |
DISCORD_TOKEN = '${{ secrets.DISCORD_TOKEN }}'
TOPGG_TOKEN = '${{ secrets.TOPGG_TOKEN }}'