Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Locale linter (Weblate) #98

Merged
merged 2 commits into from
Jan 19, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ permissions:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
actions: read
security-events: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/differential-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
lint:
runs-on: ubuntu-22.04

permissions:
security-events: write
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
name: Integration tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main, rhel*-branch ]
release:
Expand All @@ -14,7 +13,7 @@ permissions:

jobs:
buildCheck:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Repository checkout
Expand All @@ -27,7 +26,7 @@ jobs:
run: make all && make install DESTDIR=/tmp/chkconfig

unitTests:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
Expand All @@ -48,7 +47,7 @@ jobs:
run: sudo apt install -y libpopt-dev libselinux1-dev libnewt-dev gettext

- name: Install dependencies required by test-alternatives.sh
run: sudo apt install -y libxml2-dev libxslt-dev python-dev python3-lxml
run: sudo apt install -y libxml2-dev libxslt-dev python3-dev python3-lxml

- name: Build && Test
run: make check
23 changes: 23 additions & 0 deletions .github/workflows/weblate-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---

name: Weblate Locale Linter
on:
push:
pull_request:
branches: [ main ]

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-22.04

steps:
- name: Repository checkout
uses: actions/checkout@v3

- name: Weblate Locale Linter
uses: WeblateOrg/locale_lint@v0.2.2

...