Giter VIP home page Giter VIP logo

actions's Introduction

Hi there ๐Ÿ‘‹

actions's People

Contributors

andersdjohnson avatar bltavares avatar chagasaway avatar comigor avatar fabioyamate avatar felipecortez avatar fulldecent avatar github-actions[bot] avatar mpivaa avatar omares avatar roang-zero1 avatar s-coyle avatar staabm avatar victorsalaun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

actions's Issues

Difference in base images of kubeval and hadolint

The base images used in kubeval (K8s linter) and hadolint are different but the binaries used in entrypoint.sh are the same. The question is what is the difference in both the base images ?

Base Image of kubeval :- garethr/kubeval:0.7.3
Base Image of hadolint :- hadolint/hadolint:v1.15.0

Binary package used in both the linter's entrypoint.sh is hadolint.

Add an OSS License

I really like this project and would like to consider contributing to it!

Would it be possible to make this project available under an open source license? Thank you for your hard work!

Missing pinned versions of Alpine Packages

Today I've learned that Alpine does not keep older versions of packages on their repositories.

Which means that all actions are broken.

Two options to investigate:

  • Longer lasting Alpine package repository
  • Publish actions as Docker images to avoid rebuilds.

Prettier Dockerfile - unsatisfiable constraints

Error when using tag 1.0.7

ERROR: unsatisfiable constraints:
  bash-5.0.0-r0:
    breaks: world[bash~4]

Full log

$ docker build . -t github-action-prettier
Sending build context to Docker daemon   2.56kB
Step 1/13 : FROM node:alpine
 ---> 4eb3543f9812
Step 2/13 : LABEL "com.github.actions.name"="prettier"
 ---> Running in 023a3f8276ab
Removing intermediate container 023a3f8276ab
 ---> f51e78d1455c
Step 3/13 : LABEL "com.github.actions.description"="An opinionated code formatter, Supports many languages, Has few options"
 ---> Running in cc0599987dc4
Removing intermediate container cc0599987dc4
 ---> 439b5be3eeae
Step 4/13 : LABEL "com.github.actions.icon"="user-check"
 ---> Running in d52ccf28b6a6
Removing intermediate container d52ccf28b6a6
 ---> 3ac57da7b055
Step 5/13 : LABEL "com.github.actions.color"="purple"
 ---> Running in a18c37f6cfc5
Removing intermediate container a18c37f6cfc5
 ---> a38f2678a129
Step 6/13 : LABEL "repository"="http://github.com/bltavares/actions"
 ---> Running in 600d79b331f4
Removing intermediate container 600d79b331f4
 ---> 5afdb7dedda8
Step 7/13 : LABEL "homepage"="http://github.com/bltavares/actions"
 ---> Running in 151de0024859
Removing intermediate container 151de0024859
 ---> bf798cb28915
Step 8/13 : LABEL "maintainer"="Bruno Tavares <[email protected]>"
 ---> Running in 2eb3de26ec71
Removing intermediate container 2eb3de26ec71
 ---> e736cc6ed172
Step 9/13 : RUN npm install -g [email protected]
 ---> Running in 5dce2af44e5c
/usr/local/bin/prettier -> /usr/local/lib/node_modules/prettier/bin-prettier.js
+ [email protected]
added 1 package from 1 contributor in 0.663s
Removing intermediate container 5dce2af44e5c
 ---> 378e65f2cef5
Step 10/13 : RUN apk --no-cache add   curl~=7   jq~=1.6   bash~=4   git~=2
 ---> Running in f841e94b9286
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  bash-5.0.0-r0:
    breaks: world[bash~4]
The command '/bin/sh -c apk --no-cache add   curl~=7   jq~=1.6   bash~=4   git~=2' returned a non-zero code: 1

Clippy action doesn't work

When running:

name: PR Review
on: [pull_request_review]

jobs:
  clippy:
    name: clippy
    runs-on: ubuntu-latest
    steps:
      - name: Run Clippy
        uses: bltavares/actions/clippy@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: "autofix"

I get the output:

2019-08-25T23:12:00.1377418Z ##[group]Run bltavares/actions/clippy@master
2019-08-25T23:12:00.1453979Z with:
2019-08-25T23:12:00.1454073Z   args: autofix
2019-08-25T23:12:00.1454143Z env:
2019-08-25T23:12:00.1454295Z   GITHUB_TOKEN: ***
2019-08-25T23:12:00.1454346Z ##[endgroup]
2019-08-25T23:12:00.1792782Z ##[command]/usr/bin/docker run --name fe0f7ee54c96b9554861bdaedbbe4553ba06_259693 --label 29fe0f --workdir /github/workspace --rm -e GITHUB_TOKEN -e INPUT_ARGS -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -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/{omitted}/{omitted}":"/github/workspace" 29fe0f:7ee54c96b9554861bdaedbbe4553ba06 autofix
2019-08-25T23:12:00.7708717Z error: could not find `Cargo.toml` in `/github/workspace` or any parent directory
2019-08-25T23:12:01.1514235Z ##[error]Docker run failed with exit code 101
2019-08-25T23:12:01.1641246Z Cleaning up orphan processes

Can not install libs on docker

For some reason, I can't install the required libs.

Step 9/14 : RUN apt-get update -qq && apt-get install -qqy --no-install-recommends   curl=7.52*   jq=1.5*   bash=4.4*   git=1:2.11*   make=4.1*   gcc=4:6.3*   && rm -rf /var/lib/apt/lists/*
 ---> Running in 5a6c9f0ff7a1
E: Version '7.52*' for 'curl' was not found
E: Version '4.4*' for 'bash' was not found
E: Version '1:2.11*' for 'git' was not found
E: Version '4.1*' for 'make' was not found
E: Version '4:6.3*' for 'gcc' was not found


### FAILED rubocop 20:23:05Z (31.158s)

I found that for some linters there is apk instead of apt-get update
Could this be the issue?

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.