mirror of
https://github.com/hadolint/hadolint-action.git
synced 2024-08-16 10:09:53 +02:00
fix-github-deprecations
This commit is contained in:
parent
eeab5ede16
commit
68a2276a3c
2 changed files with 7 additions and 4 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
container: pipelinecomponents/hadolint:0.10.1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run hadolint
|
||||
run: hadolint Dockerfile
|
||||
|
||||
|
@ -23,7 +23,7 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
needs: ["lint"]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build Docker image
|
||||
run: docker build -t $TEST_IMAGE_NAME .
|
||||
|
||||
|
@ -37,7 +37,7 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
needs: build-test
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Run integration test 1
|
||||
uses: ./
|
||||
|
|
|
@ -44,7 +44,10 @@ if [ -n "$HADOLINT_OUTPUT" ]; then
|
|||
fi
|
||||
|
||||
RESULTS="${RESULTS//$'\\n'/''}"
|
||||
echo "::set-output name=results::$RESULTS"
|
||||
|
||||
echo "results<<EOF" >> $GITHUB_OUTPUT
|
||||
echo "${RESULTS}" >> $GITHUB_OUTPUT
|
||||
echo "EOF" >> $GITHUB_OUTPUT
|
||||
|
||||
{ echo "HADOLINT_RESULTS<<EOF"; echo "$RESULTS"; echo "EOF"; } >> $GITHUB_ENV
|
||||
|
||||
|
|
Loading…
Reference in a new issue