mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-05-15 06:35:55 +00:00
Upgrade outdated dependency actions
Upgraded the following - actions/checkout to v4 - reviewdog/action-shellcheck v1.30.0 - brpaz/structure-tests-action@v1.4.0 - cycjimmy/semantic-release-action@v4 - image ubuntu to 24.04 as they were all out of date. Signed-off-by: Raymond Etornam <retornam@users.noreply.github.com>
This commit is contained in:
parent
d292784f8f
commit
7165d3aeae
1 changed files with 14 additions and 14 deletions
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
|
|
@ -16,44 +16,44 @@ permissions:
|
|||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-20.04
|
||||
container: pipelinecomponents/hadolint:0.10.1
|
||||
runs-on: ubuntu-24.04
|
||||
container: pipelinecomponents/hadolint:0.27.2
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run hadolint
|
||||
run: hadolint Dockerfile
|
||||
|
||||
shellcheck:
|
||||
name: ShellCheck
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run ShellCheck
|
||||
uses: reviewdog/action-shellcheck@v1.16.0
|
||||
uses: reviewdog/action-shellcheck@v1.30.0
|
||||
with:
|
||||
reporter: github-pr-review
|
||||
fail_on_error: true
|
||||
|
||||
build-test:
|
||||
name: Build and Test
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
needs: [ "lint", "shellcheck" ]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build Docker image
|
||||
run: docker build -t $TEST_IMAGE_NAME .
|
||||
|
||||
- name: Run Structure tests
|
||||
uses: brpaz/structure-tests-action@v1.1.2
|
||||
uses: brpaz/structure-tests-action@v1.4.0
|
||||
with:
|
||||
image: ${{ env.TEST_IMAGE_NAME }}
|
||||
|
||||
integration-tests:
|
||||
name: Integration Tests
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
needs: build-test
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Run integration test 1
|
||||
uses: ./
|
||||
|
|
@ -120,11 +120,11 @@ jobs:
|
|||
release:
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
name: Release
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-24.04
|
||||
needs: integration-tests
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cycjimmy/semantic-release-action@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cycjimmy/semantic-release-action@v4
|
||||
with:
|
||||
extra_plugins: |
|
||||
@semantic-release/git
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue