mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-13 13:41:01 +02:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](de0fac2e45...df4cb1c069)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
name: Lint Fluent Reference Files
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'l10n/en-US/**.ftl'
|
|
- '.github/fluent_linter_config.yml'
|
|
- '.github/workflows/fluent_linter.yml'
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
paths:
|
|
- 'l10n/en-US/**.ftl'
|
|
- '.github/fluent_linter_config.yml'
|
|
- '.github/workflows/fluent_linter.yml'
|
|
branches:
|
|
- master
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Use Python 3.14
|
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
with:
|
|
python-version: '3.14'
|
|
cache: 'pip'
|
|
cache-dependency-path: '.github/fluent_linter_requirements.txt'
|
|
|
|
- name: Install requirements
|
|
run: pip install -r .github/fluent_linter_requirements.txt
|
|
|
|
- name: Lint Fluent reference files
|
|
run: moz-fluent-lint ./l10n/en-US --config .github/fluent_linter_config.yml
|