GitHub Action
gettext-go linter
gettext-go-lint-0.1.0-0
Latest version
Check for common mistakes in gettext localizable strings in go code.
Run the action against a go source tree to find the possible issues in localizable strings.
name: My Workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run action
uses: cbosdo/gettext-go-lint@master
Input | Description |
---|---|
keywords (optional) |
A comma-separated list of function names from which to read localizable strings] |
sources (optional) |
A comma-separated list of files and folders containing go files to analyze |
The reported errors are printed on the error output and the exit code indicates the number of errors found. There are no other outputs.
with:
- sources: /code
with:
- sources: /code1,/code2
- keywords: NL,L