Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/api-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
distribution: temurin
java-version: '17'

- uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
- uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
with:
# Use the MIT-licensed basic caching provider instead of the
# default enhanced caching, which is proprietary.
cache-provider: basic

- name: Check API Compatibility
run: ./gradlew :device-sdk:japicmp
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ jobs:
distribution: temurin
java-version: '17'

- uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
- uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
with:
# Use the MIT-licensed basic caching provider instead of the
# default enhanced caching, which is proprietary.
cache-provider: basic

- name: Build SDK
run: ./gradlew :device-sdk:build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
distribution: temurin
java-version: '17'

- uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
- uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
with:
cache-disabled: true

Expand Down
4 changes: 2 additions & 2 deletions .precious.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ expect-stderr = true
type = "both"
include = ["**/*.md"]
exclude = [".idea/**", "build/**"]
cmd = ["npx", "prettier", "--parser", "markdown", "--prose-wrap", "always"]
cmd = ["prettier", "--parser", "markdown", "--prose-wrap", "always"]
lint-flags = ["--check"]
tidy-flags = ["--write"]
ok-exit-codes = 0
lint-failure-exit-codes = 1
ignore-stderr = ["Code style issues", "npm warn exec"]
ignore-stderr = ["Code style issues"]

[commands.yamllint]
type = "lint"
Expand Down
4 changes: 4 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ java = "temurin-21"
# yq is used by release.sh to parse ~/.m2/settings.xml for Maven Central credentials
yq = "latest"
"github:houseabsolute/precious" = "latest"
# yamllint is used by precious for YAML linting
yamllint = "latest"
# prettier is used by precious for Markdown formatting
prettier = "latest"
Comment on lines +8 to +10
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The tools yamllint and prettier are not included in the default mise registry. To ensure they are correctly installed via mise install as intended by the PR description, you should use explicit provider prefixes. Using pip: for yamllint and npm: for prettier is the standard approach. Note that these providers require the corresponding runtimes (Python and Node.js) to be available on the system or managed via mise.

"pip:yamllint" = "latest"
# prettier is used by precious for Markdown formatting
"npm:prettier" = "latest"

android-sdk = "latest"

[tasks.setup]
Expand Down
Loading