High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: tidy up DCM analysis workflow (#19797)
bo0tzza11ab4c3f7b2
diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.ymlindex 79c66a6cf4..2a6c6261a8 100644--- a/.github/workflows/static_analysis.yml+++ b/.github/workflows/static_analysis.yml@@ -42,6 +42,9 @@ jobs:runs-on: ubuntu-latestpermissions:contents: read+ defaults:+ run:+ working-directory: ./mobilesteps:- name: Checkout codeuses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2@@ -56,27 +59,23 @@ jobs:- name: Install dependenciesrun: dart pub get- working-directory: ./mobile- name: Install DCM- run: |- sudo apt-get update- wget -qO- https://dcm.dev/pgp-key.public | sudo gpg --dearmor -o /usr/share/keyrings/dcm.gpg- echo 'deb [signed-by=/usr/share/keyrings/dcm.gpg arch=amd64] https://dcm.dev/debian stable main' | sudo tee /etc/apt/sources.list.d/dart_stable.list- sudo apt-get update- sudo apt-get install dcm=1.29.0-1+ # TODO: Move to upstream after https://github.com/CQLabs/setup-dcm/pull/235 merges+ uses: bo0tzz/setup-dcm@b4952ab813659c03513b57bd78bfe3f634171f8a+ with:+ github-token: ${{ secrets.GITHUB_TOKEN }}+ version: auto+ working-directory: ./mobile- name: Generate translation filerun: make translation- working-directory: ./mobile- name: Run Build Runnerrun: make build- working-directory: ./mobile- name: Generate platform APIrun: make pigeon- working-directory: ./mobile- name: Find file changesuses: tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20.0.4@@ -98,19 +97,16 @@ jobs:- name: Run dart analyzerun: dart analyze --fatal-infos- working-directory: ./mobile- name: Run dart formatrun: dart format lib/ --set-exit-if-changed- working-directory: ./mobile- name: Run dart custom_lintrun: dart run custom_lint- working-directory: ./mobile+ # TODO: Use https://github.com/CQLabs/dcm-action- name: Run DCMrun: dcm analyze lib --fatal-style --fatal-warnings- working-directory: ./mobilezizmor:name: zizmor