Giter VIP home page Giter VIP logo

danger-swiftlint's Introduction

GitHub stats Top Languages Card

trophy

danger-swiftlint's People

Contributors

417-72ki avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sxua

danger-swiftlint's Issues

Looks like lint is still 0.49.1

when I use the image in Bitbucket image: 41772ki/danger-swiftlint

I get:

+ swift --version
Swift version 5.7 (swift-5.7-RELEASE)
Target: x86_64-unknown-linux-gnu
+ danger-swift --version
3.14.0
+ swiftlint --version
0.49.1

doesn't seem to pull the most current SwiftLint 0.50.3 or danger 3.15

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
github-actions
.github/workflows/docker_hub.yml
  • actions/checkout v4
  • actions/checkout v4
  • docker/setup-qemu-action v3
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/build-push-action v5
  • docker/build-push-action v5
.github/workflows/validate.yml
  • actions/checkout v4
  • actions/checkout v4
  • docker/setup-qemu-action v3
  • docker/setup-buildx-action v3
  • docker/build-push-action v5

  • Check this box to trigger a request for Renovate to run again on this repository

Workflow not running

Hello, whilst trying to run the package it gives me an error that it cannot find the Dangerfile.swift file.
I have named it on the path as well as put it in the same directory as the file is located.
Do you know how this can be fixed or what to do?

Thanks

Thanks for adding this. The Danger official docker on Github doesn't work for SwiftLint.

See issue here danger/swift#339

Are you planning to keep this maintained?

Build fails in 5.5.3

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get update     && apt-get install -y npm wget     && npm install -g n     && n stable     && apt-get purge -y npm nodejs' returned a non-zero code: 100

Github Action stopped working.

Hey,

suddenly our Github Action stopped working.

Run 417-72KI/[email protected]
/usr/bin/docker run --name kidangerswiftlint56_9160d2 --label 817f70 --workdir /github/workspace --rm -e "GITHUB_TOKEN" -e "INPUT_DANGERFILE" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "RUNNER_DEBUG" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/WeCharge-iOS/WeCharge-iOS":"/github/workspace" 41772ki/danger-swiftlint:5.6
Swift version 5.6.3 (swift-5.6.3-RELEASE)
SwiftLint version 0.49.1
danger-js version 11.1.2
/usr/local/bin/show-versions: 6: danger-swift: not found
danger-swift version 
/usr/local/bin/entrypoint: line 16: danger-swift: command not found
##[debug]Docker Action run completed with exit code 127
##[debug]Finishing: Danger

Does support self-hosted runner?

Hi, I'm trying to run this docker github action in self-hosted runner.
i have private repository with my organization and i'm using macOS
here is my workflow file.

name: Danger SwiftLint

on:
  pull_request:

jobs:
  Danger:
    runs-on: ubuntu-latest

    permissions: write-all

    steps:
      - uses: actions/checkout@v4
      
      - name: Danger
        uses: 417-72KI/[email protected]
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

the error was
Container action is only supported on Linux

i also tried to run image in local using statement posted in your docker hub.
docker run -v pwd:pwd -w pwd 41772ki/danger-swiftlint local

but it did not comment on my PR.
maybe because of running danger in local not comment on PR,
i saw it in danger swift documentation.

Would you please do me a favor?ย 

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.