| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,5 +4,15 @@ root = true | |||
| 4 | 4 | max_line_length = 100 | |
| 5 | 5 | indent_size = 2 | |
| 6 | 6 | ||
| 7 | + [{version-rules.xml,maven-wrapper.properties,checkstyle.xml,docker-compose.yaml,docker-compose.yml,Dockerfile,example_target_info.json,mise.toml,mise.lock,mvnm,mvnw.cmd,generate-protobuf.sh,super-linter.env,.gitleaksignore}] | ||
| 8 | + max_line_length = 200 | ||
| 9 | + | ||
| 10 | + [{grafana-dashboard-*.json,.editorconfig}] | ||
| 11 | + max_line_length = 300 | ||
| 12 | + | ||
| 7 | 13 | [pom.xml] | |
| 14 | + max_line_length = 110 | ||
| 15 | + | ||
| 16 | + [*.py] | ||
| 17 | + # checked by black | ||
| 8 | 18 | indent_size = 4 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,12 +1,15 @@ | |||
| 1 | + --- | ||
| 1 | 2 | version: 2 | |
| 2 | 3 | updates: | |
| 3 | 4 | - package-ecosystem: "github-actions" | |
| 4 | 5 | directory: "/" | |
| 5 | 6 | schedule: | |
| 6 | 7 | interval: weekly | |
| 7 | 8 | - package-ecosystem: maven | |
| 8 | - # excluding simpleclient_archive from the update is not possible, only includes are supported | ||
| 9 | - # when we use includes, we run into https://github.com/dependabot/dependabot-core/issues/10415 - | ||
| 9 | + # excluding simpleclient_archive from the update is not possible, | ||
| 10 | + # only includes are supported | ||
| 11 | + # when we use includes, | ||
| 12 | + # we run into https://github.com/dependabot/dependabot-core/issues/10415 | ||
| 10 | 13 | # even if we limit to 1 PR at a time | |
| 11 | 14 | # therefore we just rename pom.xml in simpleclient_archive for now | |
| 12 | 15 | # if this becomes a problem, we can move to renovate | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,34 @@ | |||
| 1 | + FILTER_REGEX_EXCLUDE=mvnw|src/main/generated/.*|docs/themes/.*|keystore.pkcs12|.*.java|prometheus-metrics-exporter-opentelemetry-shaded/pom.xml | ||
| 2 | + IGNORE_GITIGNORED_FILES=true | ||
| 3 | + JAVA_FILE_NAME=google_checks.xml | ||
| 4 | + # disable kubernetes linter - complains about resource limits, etc | ||
| 5 | + VALIDATE_CHECKOV=false | ||
| 6 | + VALIDATE_CSS=false | ||
| 7 | + VALIDATE_CSS_PRETTIER=false | ||
| 8 | + VALIDATE_DOCKERFILE_HADOLINT=false | ||
| 9 | + VALIDATE_GIT_COMMITLINT=false | ||
| 10 | + # done by maven | ||
| 11 | + VALIDATE_GOOGLE_JAVA_FORMAT=false | ||
| 12 | + # times out | ||
| 13 | + VALIDATE_GO_MODULES=false | ||
| 14 | + VALIDATE_HTML=false | ||
| 15 | + # done by checkstyle | ||
| 16 | + VALIDATE_JAVA=false | ||
| 17 | + # contradicting with prettier | ||
| 18 | + VALIDATE_JAVASCRIPT_STANDARD=false | ||
| 19 | + # we have many duplicate code in our codebase for demo purposes | ||
| 20 | + VALIDATE_JSCPD=false | ||
| 21 | + VALIDATE_PYTHON_PYLINT=false | ||
| 22 | + | ||
| 23 | + FIX_ENV=true | ||
| 24 | + FIX_GO=true | ||
| 25 | + FIX_JAVASCRIPT_PRETTIER=true | ||
| 26 | + FIX_JSON=true | ||
| 27 | + FIX_JSONC=true | ||
| 28 | + FIX_JSONC_PRETTIER=true | ||
| 29 | + FIX_JSON_PRETTIER=true | ||
| 30 | + FIX_MARKDOWN=true | ||
| 31 | + FIX_MARKDOWN_PRETTIER=true | ||
| 32 | + FIX_PYTHON_BLACK=true | ||
| 33 | + FIX_SHELL_SHFMT=true | ||
| 34 | + FIX_YAML_PRETTIER=true | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,11 @@ | |||
| 1 | + --- | ||
| 1 | 2 | name: OpenTelemetry Acceptance Tests | |
| 2 | 3 | ||
| 3 | 4 | on: | |
| 4 | 5 | push: | |
| 5 | - branches: [ "main" ] | ||
| 6 | + branches: ["main"] | ||
| 6 | 7 | pull_request: | |
| 7 | - branches: [ "main" ] | ||
| 8 | + branches: ["main"] | ||
| 8 | 9 | ||
| 9 | 10 | permissions: {} | |
| 10 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,11 @@ | |||
| 1 | + --- | ||
| 1 | 2 | name: Build | |
| 2 | 3 | ||
| 3 | 4 | on: | |
| 4 | 5 | push: | |
| 5 | - branches: [ "main" ] | ||
| 6 | + branches: ["main"] | ||
| 6 | 7 | pull_request: | |
| 7 | - branches: [ "main" ] | ||
| 8 | + branches: ["main"] | ||
| 8 | 9 | ||
| 9 | 10 | permissions: {} | |
| 10 | 11 | ||
@@ -25,4 +26,3 @@ jobs: | |||
| 25 | 26 | ${{ runner.os }}-maven- | |
| 26 | 27 | - name: Run the Maven verify phase | |
| 27 | 28 | run: mise run ci | |
| 28 | - | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,8 +13,10 @@ on: | |||
| 13 | 13 | ||
| 14 | 14 | permissions: {} | |
| 15 | 15 | ||
| 16 | - # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
| 17 | - # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
| 16 | + # Allow only one concurrent deployment, skipping runs queued between | ||
| 17 | + # the run in-progress and latest queued. | ||
| 18 | + # However, do NOT cancel in-progress runs as we want to allow | ||
| 19 | + # these production deployments to complete. | ||
| 18 | 20 | concurrency: | |
| 19 | 21 | group: "pages" | |
| 20 | 22 | cancel-in-progress: false | |
@@ -32,22 +34,18 @@ jobs: | |||
| 32 | 34 | - uses: actions/checkout@v4 | |
| 33 | 35 | with: | |
| 34 | 36 | persist-credentials: false | |
| 35 | - fetch-tags: 'true' | ||
| 37 | + fetch-tags: "true" | ||
| 36 | 38 | fetch-depth: 0 | |
| 37 | 39 | - uses: jdx/mise-action@7a111ead46986ccad89a74ad013ba2a7c08c9e67 # v2.1.1 | |
| 38 | 40 | with: | |
| 39 | - cache: 'false' | ||
| 41 | + cache: "false" | ||
| 40 | 42 | - name: Prepare GitHub Pages | |
| 41 | 43 | run: mise run prepare-gh-pages | |
| 42 | - with: | ||
| 43 | - permissions: block | ||
| 44 | 44 | - name: Setup Pages | |
| 45 | 45 | id: pages | |
| 46 | 46 | uses: actions/configure-pages@v5 | |
| 47 | 47 | - name: Build GitHub Pages | |
| 48 | 48 | run: mise run build-gh-pages | |
| 49 | - with: | ||
| 50 | - permissions: block | ||
| 51 | 49 | - name: Upload artifact | |
| 52 | 50 | uses: actions/upload-pages-artifact@v3 | |
| 53 | 51 | with: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,6 @@ permissions: {} | |||
| 7 | 7 | ||
| 8 | 8 | jobs: | |
| 9 | 9 | acceptance-tests: | |
| 10 | - permissions: {} | ||
| 11 | 10 | runs-on: ubuntu-24.04 | |
| 12 | 11 | steps: | |
| 13 | 12 | - name: Check out | |
@@ -16,5 +15,4 @@ jobs: | |||
| 16 | 15 | uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| 17 | 16 | - uses: jdx/mise-action@7a111ead46986ccad89a74ad013ba2a7c08c9e67 # v2.1.1 | |
| 18 | 17 | - name: Lint | |
| 19 | - run: mise run lint-all | ||
| 20 | - | ||
| 18 | + run: mise run lint-rest | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,11 @@ | |||
| 1 | + --- | ||
| 1 | 2 | name: GraalVM Native Tests | |
| 2 | 3 | ||
| 3 | 4 | on: | |
| 4 | 5 | push: | |
| 5 | - branches: [ "main" ] | ||
| 6 | + branches: ["main"] | ||
| 6 | 7 | pull_request: | |
| 7 | - branches: [ "main" ] | ||
| 8 | + branches: ["main"] | ||
| 8 | 9 | ||
| 9 | 10 | permissions: {} | |
| 10 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,4 @@ | |||
| 1 | + --- | ||
| 1 | 2 | name: Deploy to Maven Central | |
| 2 | 3 | ||
| 3 | 4 | on: | |
@@ -14,10 +15,10 @@ jobs: | |||
| 14 | 15 | steps: | |
| 15 | 16 | - name: Debug gpg key - remove after debugging | |
| 16 | 17 | env: | |
| 17 | - GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | ||
| 18 | + GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | ||
| 18 | 19 | run: | | |
| 19 | - echo "$GPG_SIGNING_KEY" | wc -c | ||
| 20 | - echo "$GPG_SIGNING_KEY" | gpg --batch --import-options import-show --import | ||
| 20 | + echo "${#GPG_SIGNING_KEY}" | ||
| 21 | + echo "${GPG_SIGNING_KEY}" | gpg --batch --import-options import-show --import | ||
| 21 | 22 | - name: Checkout Plugin Repository | |
| 22 | 23 | uses: actions/checkout@v4 | |
| 23 | 24 | with: | |
@@ -37,8 +38,8 @@ jobs: | |||
| 37 | 38 | - name: Set up Apache Maven Central | |
| 38 | 39 | uses: actions/setup-java@v4 | |
| 39 | 40 | with: | |
| 40 | - distribution: 'temurin' | ||
| 41 | - java-version: '17' | ||
| 41 | + distribution: "temurin" | ||
| 42 | + java-version: "17" | ||
| 42 | 43 | server-id: ossrh | |
| 43 | 44 | server-username: MAVEN_USERNAME | |
| 44 | 45 | server-password: MAVEN_CENTRAL_TOKEN | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,31 @@ | |||
| 1 | + --- | ||
| 2 | + name: Lint | ||
| 3 | + | ||
| 4 | + on: | ||
| 5 | + pull_request: | ||
| 6 | + | ||
| 7 | + jobs: | ||
| 8 | + lint: | ||
| 9 | + runs-on: ubuntu-24.04 | ||
| 10 | + | ||
| 11 | + permissions: | ||
| 12 | + contents: read | ||
| 13 | + packages: read | ||
| 14 | + # To report GitHub Actions status checks | ||
| 15 | + statuses: write | ||
| 16 | + | ||
| 17 | + steps: | ||
| 18 | + - name: Checkout code | ||
| 19 | + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| 20 | + with: | ||
| 21 | + persist-credentials: false | ||
| 22 | + fetch-depth: 0 | ||
| 23 | + | ||
| 24 | + - name: Load super-linter configuration | ||
| 25 | + run: grep -v '^#' .github/super-linter.env | grep -v 'FIX_' >> "$GITHUB_ENV" | ||
| 26 | + | ||
| 27 | + - name: Super-linter | ||
| 28 | + uses: super-linter/super-linter@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0 | ||
| 29 | + env: | ||
| 30 | + # To report GitHub Actions status checks | ||
| 31 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments