ソースを参照

ci: expand validation coverage (#1120)

James Read 23 時間 前
コミット
88f9acebd5

+ 24 - 4
.dockerignore

@@ -1,4 +1,24 @@
-.eslintrc.json
-.stylelintrc.json
-package.json
-package-lock.json
+.git
+.github
+.cursor
+.vscode
+
+**/node_modules
+**/reports
+**/screenshots
+**/*.log
+**/*.swp
+**/*.swo
+
+build
+dist
+docs
+frontend
+integration-tests
+lang
+proto
+releases
+service
+specs
+tmp
+var/marketing

+ 21 - 0
.github/workflows/build-and-release.yml

@@ -5,14 +5,23 @@ on:
   pull_request:
   pull_request:
     paths:
     paths:
       - '.github/workflows/build-and-release.yml'
       - '.github/workflows/build-and-release.yml'
+      - '.dockerignore'
       - '.goreleaser.yml'
       - '.goreleaser.yml'
+      - '.releaserc.yaml'
       - 'Dockerfile.multiarches'
       - 'Dockerfile.multiarches'
       - 'Dockerfile.singlearch'
       - 'Dockerfile.singlearch'
+      - 'LICENSE'
       - 'Makefile'
       - 'Makefile'
+      - 'config.yaml'
+      - 'examples/backupScript.sh'
       - 'frontend/**'
       - 'frontend/**'
       - 'integration-tests/**'
       - 'integration-tests/**'
+      - 'lang/**'
       - 'proto/**'
       - 'proto/**'
       - 'service/**'
       - 'service/**'
+      - 'var/entities/**'
+      - 'var/helper-actions/**'
+      - 'var/macos/**'
       - 'var/windows/**'
       - 'var/windows/**'
   workflow_dispatch:
   workflow_dispatch:
   push:
   push:
@@ -24,16 +33,28 @@ on:
       - beta
       - beta
     paths:
     paths:
       - '.github/workflows/build-and-release.yml'
       - '.github/workflows/build-and-release.yml'
+      - '.dockerignore'
       - '.goreleaser.yml'
       - '.goreleaser.yml'
+      - '.releaserc.yaml'
       - 'Dockerfile.multiarches'
       - 'Dockerfile.multiarches'
       - 'Dockerfile.singlearch'
       - 'Dockerfile.singlearch'
+      - 'LICENSE'
       - 'Makefile'
       - 'Makefile'
+      - 'config.yaml'
+      - 'examples/backupScript.sh'
       - 'frontend/**'
       - 'frontend/**'
       - 'integration-tests/**'
       - 'integration-tests/**'
+      - 'lang/**'
       - 'proto/**'
       - 'proto/**'
       - 'service/**'
       - 'service/**'
+      - 'var/entities/**'
+      - 'var/helper-actions/**'
+      - 'var/macos/**'
       - 'var/windows/**'
       - 'var/windows/**'
 
 
+permissions:
+  contents: read
+
 jobs:
 jobs:
   build:
   build:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest

+ 3 - 0
.github/workflows/build-buf.yml

@@ -7,6 +7,9 @@ on:
 
 
   pull_request:
   pull_request:
     types: [opened, synchronize, reopened, labeled, unlabeled]
     types: [opened, synchronize, reopened, labeled, unlabeled]
+    paths:
+      - '.github/workflows/build-buf.yml'
+      - 'proto/**'
   delete:
   delete:
 permissions:
 permissions:
   contents: read
   contents: read

+ 4 - 2
.github/workflows/codeql-analysis.yml

@@ -18,17 +18,19 @@ on:
       - '.github/workflows/codeql-analysis.yml'
       - '.github/workflows/codeql-analysis.yml'
       - 'frontend/**'
       - 'frontend/**'
       - 'integration-tests/**'
       - 'integration-tests/**'
+      - 'lang/**'
       - 'proto/**'
       - 'proto/**'
       - 'service/**'
       - 'service/**'
-    branches: [main]
+    branches: [main, next]
   pull_request:
   pull_request:
     paths:
     paths:
       - '.github/workflows/codeql-analysis.yml'
       - '.github/workflows/codeql-analysis.yml'
       - 'frontend/**'
       - 'frontend/**'
       - 'integration-tests/**'
       - 'integration-tests/**'
+      - 'lang/**'
       - 'proto/**'
       - 'proto/**'
       - 'service/**'
       - 'service/**'
-    branches: [main]
+    branches: [main, next]
   schedule:
   schedule:
     - cron: '25 10 * * 5'
     - cron: '25 10 * * 5'
 
 

+ 2 - 2
.github/workflows/devskim.yml

@@ -17,7 +17,7 @@ on:
       - 'integration-tests/**'
       - 'integration-tests/**'
       - 'proto/**'
       - 'proto/**'
       - 'service/**'
       - 'service/**'
-    branches: [ "main" ]
+    branches: [ "main", "next" ]
   pull_request:
   pull_request:
     paths:
     paths:
       - '.github/workflows/devskim.yml'
       - '.github/workflows/devskim.yml'
@@ -29,7 +29,7 @@ on:
       - 'integration-tests/**'
       - 'integration-tests/**'
       - 'proto/**'
       - 'proto/**'
       - 'service/**'
       - 'service/**'
-    branches: [ "main" ]
+    branches: [ "main", "next" ]
   schedule:
   schedule:
     - cron: '34 21 * * 2'
     - cron: '34 21 * * 2'
 
 

+ 2 - 0
.gitignore

@@ -11,6 +11,7 @@ installation-id.txt
 tmp/
 tmp/
 frontend/dist/
 frontend/dist/
 frontend/node_modules
 frontend/node_modules
+integration-tests/node_modules/
 custom-frontend
 custom-frontend
 integration-tests/screenshots/
 integration-tests/screenshots/
 integration-tests/flakey-test-runs.log
 integration-tests/flakey-test-runs.log
@@ -28,4 +29,5 @@ sessions.yaml
 docs/build/
 docs/build/
 build/
 build/
 Binary/
 Binary/
+lang/langtool
 .cursor
 .cursor