Skip to content

Commit

Permalink
Downgrade actionlint
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Aug 28, 2022
1 parent 89a82cc commit e03017b
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 23 deletions.
16 changes: 8 additions & 8 deletions .automation/generated/megalinter-users.json
Original file line number Diff line number Diff line change
Expand Up @@ -804,8 +804,8 @@
"network_count": 119,
"node_id": "MDEwOlJlcG9zaXRvcnkzMDQ4MzAyMjY=",
"notifications_url": "https://api.github.com/repos/oxsecurity/megalinter/notifications{?since,all,participating}",
"open_issues": 33,
"open_issues_count": 33,
"open_issues": 32,
"open_issues_count": 32,
"organization": {
"avatar_url": "https://avatars.githubusercontent.com/u/89921661?v=4",
"events_url": "https://api.github.com/users/oxsecurity/events{/privacy}",
Expand Down Expand Up @@ -848,9 +848,9 @@
},
"private": false,
"pulls_url": "https://api.github.com/repos/oxsecurity/megalinter/pulls{/number}",
"pushed_at": "2022-08-28T18:25:13Z",
"pushed_at": "2022-08-28T19:10:41Z",
"releases_url": "https://api.github.com/repos/oxsecurity/megalinter/releases{/id}",
"size": 217017,
"size": 214768,
"ssh_url": "[email protected]:oxsecurity/megalinter.git",
"stargazers_count": 802,
"stargazers_url": "https://api.github.com/repos/oxsecurity/megalinter/stargazers",
Expand Down Expand Up @@ -2747,7 +2747,7 @@
},
"private": false,
"pulls_url": "https://api.github.com/repos/toboshii/home-ops/pulls{/number}",
"pushed_at": "2022-08-28T11:15:46Z",
"pushed_at": "2022-08-28T19:15:05Z",
"releases_url": "https://api.github.com/repos/toboshii/home-ops/releases{/id}",
"size": 2665,
"ssh_url": "[email protected]:toboshii/home-ops.git",
Expand Down Expand Up @@ -4696,7 +4696,7 @@
},
"private": false,
"pulls_url": "https://api.github.com/repos/auricom/home-ops/pulls{/number}",
"pushed_at": "2022-08-28T11:16:54Z",
"pushed_at": "2022-08-28T19:16:54Z",
"releases_url": "https://api.github.com/repos/auricom/home-ops/releases{/id}",
"size": 5927,
"ssh_url": "[email protected]:auricom/home-ops.git",
Expand Down Expand Up @@ -6250,8 +6250,8 @@
"network_count": 0,
"node_id": "MDEwOlJlcG9zaXRvcnkzNzYxOTIyODE=",
"notifications_url": "https://api.github.com/repos/rwaltr/infra/notifications{?since,all,participating}",
"open_issues": 3,
"open_issues_count": 3,
"open_issues": 2,
"open_issues_count": 2,
"owner": {
"avatar_url": "https://avatars.githubusercontent.com/u/11428125?v=4",
"events_url": "https://api.github.com/users/rwaltr/events{/privacy}",
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ RUN curl -fLo coursier https://git.io/coursier-cli && \

# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# arm-ttk installation
ENV ARM_TTK_PSD1="${ARM_TTK_DIRECTORY}/arm-ttk-master/arm-ttk/arm-ttk.psd1"
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/action_actionlint.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ Flags:
- Dockerfile commands :
```dockerfile
ENV GO111MODULE=on
RUN go get github.com/rhysd/actionlint/cmd/actionlint
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16
```

2 changes: 1 addition & 1 deletion flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#OTHER__START
# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ ENV PATH="${PATH}:/root/.dotnet/tools:/usr/share/dotnet"

# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# arm-ttk installation
ENV ARM_TTK_PSD1="${ARM_TTK_DIRECTORY}/arm-ttk-master/arm-ttk/arm-ttk.psd1"
Expand Down
2 changes: 1 addition & 1 deletion flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#OTHER__START
# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ ENV PATH="$JAVA_HOME/bin:${PATH}"

# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#OTHER__START
# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ RUN wget --tries=5 -q -O phive.phar https://phar.io/releases/phive.phar \

# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#OTHER__START
# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#OTHER__START
# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ ENV PATH="/root/.cargo/bin:${PATH}"

# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/salesforce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ RUN echo y|sfdx plugins:install sfdx-hardis

# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/swift/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
RUN rc-update add docker boot && rc-service docker start || true
# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
2 changes: 1 addition & 1 deletion flavors/terraform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ RUN echo 'gem: --no-document' >> ~/.gemrc && \
#OTHER__START
# actionlint installation
ENV GO111MODULE=on
RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

# bash-exec installation
RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: File:[$1] is not executable"; exit 1; fi' > /usr/bin/bash-exec \
Expand Down
3 changes: 2 additions & 1 deletion megalinter/descriptors/action.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ linters:
cli_lint_errors_regex: "([0-9]+) \\|"
examples:
- "actionlint /path/to/workflow1.yml /path/to/workflow2.yaml"
downgraded_version: true
install:
dockerfile:
- ENV GO111MODULE=on
- RUN go install github.com/rhysd/actionlint/cmd/actionlint@latest
- RUN go install github.com/rhysd/actionlint/cmd/actionlint@v1.6.16

0 comments on commit e03017b

Please sign in to comment.