slack status without the slack status.zzstoatzz.io/
quickslice

remove rust CI and fly review app workflows

Changed files
-101
.github
-33
.github/workflows/ci.yml
··· 1 - name: CI 2 - 3 - on: 4 - push: 5 - branches: [ main ] 6 - pull_request: 7 - branches: [ main ] 8 - 9 - env: 10 - CARGO_TERM_COLOR: always 11 - 12 - jobs: 13 - test: 14 - name: Test 15 - runs-on: ubuntu-latest 16 - steps: 17 - - uses: actions/checkout@v4 18 - - uses: dtolnay/rust-toolchain@stable 19 - with: 20 - components: rustfmt, clippy 21 - - uses: Swatinem/rust-cache@v2 22 - 23 - - name: Check formatting 24 - run: cargo fmt -- --check 25 - 26 - - name: Build 27 - run: cargo build --verbose 28 - 29 - - name: Run clippy 30 - run: cargo clippy -- -D warnings 31 - 32 - - name: Run tests 33 - run: cargo test --verbose
-52
.github/workflows/fly-review.yml
··· 1 - name: Deploy Review App 2 - on: 3 - # Run this workflow on every PR event. Existing review apps will be updated when the PR is updated. 4 - pull_request: 5 - types: [opened, reopened, synchronize, closed] 6 - paths: 7 - - 'src/**' 8 - - 'templates/**' 9 - - 'static/**' 10 - - 'Cargo.toml' 11 - - 'Cargo.lock' 12 - - 'Dockerfile' 13 - - 'fly.toml' 14 - - 'fly.review.toml' 15 - - 'build.rs' 16 - - 'sqlx-data.json' 17 - env: 18 - FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} 19 - # Set these to your Fly.io organization and preferred region. 20 - FLY_REGION: ewr 21 - FLY_ORG: personal 22 - 23 - jobs: 24 - review_app: 25 - runs-on: ubuntu-latest 26 - outputs: 27 - url: ${{ steps.deploy.outputs.url }} 28 - # Only run one deployment at a time per PR. 29 - concurrency: 30 - group: pr-${{ github.event.number }} 31 - 32 - # Deploying apps with this "review" environment allows the URL for the app to be displayed in the PR UI. 33 - environment: 34 - name: review 35 - # The script in the `deploy` sets the URL output for each review app. 36 - url: ${{ steps.deploy.outputs.url }} 37 - steps: 38 - - name: Get code 39 - uses: actions/checkout@v4 40 - 41 - - name: Deploy PR app to Fly.io 42 - id: deploy 43 - uses: superfly/fly-pr-review-apps@1.2.1 44 - with: 45 - name: zzstoatzz-status-pr-${{ github.event.number }} 46 - config: fly.review.toml 47 - # Use smaller resources for review apps 48 - vmsize: shared-cpu-1x 49 - memory: 256 50 - # Set OAUTH_REDIRECT_BASE dynamically for OAuth redirects 51 - secrets: | 52 - OAUTH_REDIRECT_BASE=https://zzstoatzz-status-pr-${{ github.event.number }}.fly.dev
-16
.github/workflows/fly.yml
··· 1 - name: Fly Deploy 2 - on: 3 - push: 4 - branches: 5 - - main 6 - jobs: 7 - deploy: 8 - name: Deploy app 9 - runs-on: ubuntu-latest 10 - concurrency: deploy-group # ensure only one action runs at a time 11 - steps: 12 - - uses: actions/checkout@v4 13 - - uses: superfly/flyctl-actions/setup-flyctl@master 14 - - run: flyctl deploy --remote-only 15 - env: 16 - FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}