π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add museum lint action
Manav Rathi0b37f7463627
diff --git a/.github/workflows/auth-lint.yml b/.github/workflows/auth-lint.ymlindex 68fc516439..242d9ba182 100644--- a/.github/workflows/auth-lint.yml+++ b/.github/workflows/auth-lint.yml@@ -17,20 +17,18 @@ jobs:run:working-directory: authsteps:- # Checkout our code, including submodules- - uses: actions/checkout@v4+ - name: Checkout code and submodules+ uses: actions/checkout@v4with:submodules: recursive- # Install Flutter- - uses: subosito/flutter-action@v2+ - name: Install Flutter+ uses: subosito/flutter-action@v2with:channel: "stable"flutter-version: "3.13.4"cache: true- # Install dependencies- run: flutter pub get- # Lint- run: flutter analyze --no-fatal-infosdiff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.ymlindex 2f5b332af6..e38864c4e8 100644--- a/.github/workflows/mobile-lint.yml+++ b/.github/workflows/mobile-lint.yml@@ -17,20 +17,18 @@ jobs:run:working-directory: mobilesteps:- # Checkout our code, including submodules- - uses: actions/checkout@v4+ - name: Checkout code and submodules+ uses: actions/checkout@v4with:submodules: recursive- # Install Flutter- - uses: subosito/flutter-action@v2+ - name: Install Flutter+ uses: subosito/flutter-action@v2with:channel: "stable"flutter-version: "3.13.4"cache: true- # Install dependencies- run: flutter pub get- # Lint- run: flutter analyze --no-fatal-infosdiff --git a/.github/workflows/server-lint.yml b/.github/workflows/server-lint.ymlnew file mode 100644index 0000000000..eba5969414--- /dev/null+++ b/.github/workflows/server-lint.yml@@ -0,0 +1,33 @@+name: "Lint (server)"++on:+ # Run on every push (this also covers pull requests)+ push:+ # See: [Note: Specify branch when specifying a path filter]+ branches: ["**"]+ # Only run if something changes in these paths+ paths:+ - "server/**"+ - ".github/workflows/server-lint.yml"++jobs:+ lint:+ runs-on: ubuntu-latest+ defaults:+ run:+ working-directory: server+ steps:+ - name: Checkout code+ uses: actions/checkout@v4++ - name: Setup go+ uses: actions/setup-go@v5+ with:+ go-version-file: "go.mod"+ cache: true++ - name: Install dependencies+ run: sudo apt-get update && sudo apt-get install libsodium-dev++ - name: Lint+ run: "./scripts/lint.sh"diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.ymlindex 12c07c8697..a905069f67 100644--- a/.github/workflows/web-lint.yml+++ b/.github/workflows/web-lint.yml@@ -26,11 +26,16 @@ jobs:run:working-directory: websteps:- - uses: actions/checkout@v4- - uses: actions/setup-node@v4+ - name: Checkout code+ uses: actions/checkout@v4++ - name: Setup node and enable yarn caching+ uses: actions/setup-node@v4with:node-version: 20cache: "yarn"cache-dependency-path: "web/yarn.lock"+- run: yarn install+- run: yarn lintdiff --git a/server/.github/workflows/pr.yml b/server/.github/workflows/pr.ymldeleted file mode 100644index 59ddb5fd6a..0000000000--- a/server/.github/workflows/pr.yml+++ /dev/null@@ -1,21 +0,0 @@-name: Code quality--on:- # Enable manual run- workflow_dispatch:- # Run on every push; this also covers pull requests- push:--jobs:- build:- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v4- - uses: actions/setup-go@v5- with:- go-version-file: "go.mod"- cache: true- - run: sudo apt-get update && sudo apt-get install libsodium-dev- - run:- "./scripts/lint.sh"- # - run: "go test ./..."