Skip to content

feat(frontend): move Pay/Scan buttons from Header to Menu #26802

feat(frontend): move Pay/Scan buttons from Header to Menu

feat(frontend): move Pay/Scan buttons from Header to Menu #26802

Workflow file for this run

name: Backend Checks
on:
pull_request:
merge_group:
workflow_dispatch:
permissions: {}
jobs:
lint:
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Check if backend files changed
id: changes
uses: ./.github/actions/check-backend-changes
- uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
if: steps.changes.outputs.backend == 'true'
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-backend-tests-${{ hashFiles('Cargo.lock', 'rust-toolchain.toml') }}
- name: Install rust
if: steps.changes.outputs.backend == 'true'
run: ./scripts/setup rust
- name: Lint rust
if: steps.changes.outputs.backend == 'true'
run: ./scripts/lint.rust.sh
- name: Lint candid
if: steps.changes.outputs.backend == 'true'
run: ./scripts/lint.did.sh
workspace-dependencies:
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Check if backend files changed
id: changes
uses: ./.github/actions/check-backend-changes
- name: Install yq
if: steps.changes.outputs.backend == 'true'
run: sudo snap install yq
- name: Dependencies are defined in the workspace
if: steps.changes.outputs.backend == 'true'
run: ./scripts/lint.cargo-workspace-dependencies.sh
backend-checks-pass:
needs: ['lint', 'workspace-dependencies']
if: ${{ always() }}
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: ./.github/actions/needs_success
with:
needs: '${{ toJson(needs) }}'