Skip to content

spreaker/action-stringslint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

      - name: GitHub Action for StringsLint (Different working directory)
        uses: dral3x/action-stringslint@1.1.9
        env:
          WORKING_DIRECTORY: Source

Author

Alessandro Calzavara

License

MIT licensed

About

GitHub Action for StringsLint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 94.2%
  • Shell 3.1%
  • Dockerfile 2.7%