Code Monkey home page Code Monkey logo

action-stringslint's Introduction

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/[email protected]

      - name: GitHub Action for StringsLint with --config
        uses: dral3x/[email protected]
        with:
          args: --config ../shared/stringslint.yml

Author

Alessandro Calzavara

License

MIT licensed

action-stringslint's People

Contributors

dral3x avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

action-stringslint's Issues

Docker build error for 1.1.0

Hi,

using 1.1.0

      - name: GitHub Action for StringsLint
        uses: dral3x/[email protected]

leads to docker build error

Build container for action use: '/home/runner/work/_actions/dral3x/action-stringslint/1.1.0/Dockerfile'.
  /usr/bin/docker build -t 8a33c1:e8177ae4590b4e81a49b48f8f6b213f6 -f "/home/runner/work/_actions/dral3x/action-stringslint/1.1.0/Dockerfile" "/home/runner/work/_actions/dral3x/action-stringslint/1.1.0"
  Sending build context to Docker daemon  223.2kB
  
  Step 1/11 : FROM dral3x/stringslint:swift-5.3
  manifest for dral3x/stringslint:swift-5.3 not found: manifest unknown: manifest unknown
  Warning: Docker build failed with exit code 1, back off 4.465 seconds before retry.
  /usr/bin/docker build -t 8a33c1:e8177ae4590b4e81a49b48f8f6b213f6 -f "/home/runner/work/_actions/dral3x/action-stringslint/1.1.0/Dockerfile" "/home/runner/work/_actions/dral3x/action-stringslint/1.1.0"
  Sending build context to Docker daemon  223.2kB
  
  Step 1/11 : FROM dral3x/stringslint:swift-5.3
  manifest for dral3x/stringslint:swift-5.3 not found: manifest unknown: manifest unknown
  Warning: Docker build failed with exit code 1, back off 2.053 seconds before retry.
  /usr/bin/docker build -t 8a33c1:e8177ae4590b4e81a49b48f8f6b213f6 -f "/home/runner/work/_actions/dral3x/action-stringslint/1.1.0/Dockerfile" "/home/runner/work/_actions/dral3x/action-stringslint/1.1.0"
  Sending build context to Docker daemon  223.2kB
  
  Step 1/11 : FROM dral3x/stringslint:swift-5.3
  manifest for dral3x/stringslint:swift-5.3 not found: manifest unknown: manifest unknown
Error: Docker build failed with exit code 1

I see 1709d41 which might address the issue but this commit is not included in 1.1.0

Would be great if you could publish a new version.

Cheers,
Marco

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.