Update to spec 1.26.0 and semconv 1.22.0 at the SAME time #1513
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linter | |
on: | |
pull_request: | |
jobs: | |
text-linter: | |
name: TEXT linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Make sure that we only install the dependencies for textlint to speed up install | |
- run: | | |
mkdir -p tmp | |
jq '.devDependencies |= with_entries( select(.key | startswith("textlint"))) | |
| del(.dependencies, .optionalDependencies)' \ | |
package.json > tmp/package-min.json | |
cp tmp/package-min.json package.json | |
- run: npm install --ignore-scripts --omit=optional | |
- run: .github/workflows/scripts/textlint.sh | |
markdown-linter: | |
name: MARKDOWN linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create and use reduced-dependencies package.json | |
run: | | |
mkdir -p tmp | |
jq '.devDependencies |= with_entries( | |
select(.key | test("gulp|markdown|through|require|yargs")) | |
) | |
| del(.dependencies, .optionalDependencies)' \ | |
package.json > tmp/package-min.json | |
cp tmp/package-min.json package.json | |
- run: npm install --ignore-scripts --omit=optional | |
- run: npm run check:markdown |