Skip to content
shield

GitHub Action

GitHub Action for StringsLint

1.1.9 Latest version

GitHub Action for StringsLint

shield

GitHub Action for StringsLint

Ensure your localized strings are complete and never unused

Installation

Copy and paste the following snippet into your .yml file.

              

- name: GitHub Action for StringsLint

uses: dral3x/action-stringslint@1.1.9

Learn more about this action in dral3x/action-stringslint

Choose a version

GitHub Action for StringsLint

This Action executes StringsLint and generates annotations from the violations found.

Usage

An example workflow (.github/workflows/stringslint.yml) to executing StringsLint follows:

name: StringsLint

on:
  pull_request:
    paths:
      - ".github/workflows/stringslint.yml"
      - ".stringslint.yml"
      - "**/*.swift"
      - "**/*.strings"
      - "**/*.stringsdict"

jobs:
  StringsLint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: GitHub Action for StringsLint
        uses: dral3x/action-stringslint@1.1.9

      - name: GitHub Action for StringsLint with --config
        uses: dral3x/action-stringslint@1.1.9
        with:
          args: --config ../shared/stringslint.yml

Author

Alessandro Calzavara

License

MIT licensed