Update step name

Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
Brett Logan 2022-12-23 19:42:53 -05:00
parent fc841f15bd
commit 4b3a1cb628

View file

@ -44,8 +44,7 @@ jobs:
tag: ${{ matrix.images.image-id }} tag: ${{ matrix.images.image-id }}
target: ${{ matrix.images.container-build-target }} target: ${{ matrix.images.container-build-target }}
version: ${{ github.sha }} version: ${{ github.sha }}
- name: Lint Codebase - name: Test Local Action
if: ${{ github.repository == 'github/super-linter' && github.ref != 'refs/heads/main' }}
uses: ./ uses: ./
env: env:
ACTIONS_RUNNER_DEBUG: true ACTIONS_RUNNER_DEBUG: true
@ -55,10 +54,8 @@ jobs:
DEFAULT_BRANCH: main DEFAULT_BRANCH: main
LOCAL_UPDATES: true LOCAL_UPDATES: true
- name: Run Test Suite - name: Run Test Suite
if: ${{ github.repository == 'github/super-linter' && github.ref != 'refs/heads/main' }}
run: make IMAGE=${{ matrix.images.image-id }} test run: make IMAGE=${{ matrix.images.image-id }} test
- name: Upload the code coverage report - name: Upload the code coverage report
if: ${{ github.repository == 'github/super-linter' && github.ref != 'refs/heads/main' }}
uses: codacy/codacy-coverage-reporter-action@v1.1 uses: codacy/codacy-coverage-reporter-action@v1.1
# Sometimes this fails when user does not have permissions to secrets # Sometimes this fails when user does not have permissions to secrets
continue-on-error: true continue-on-error: true
@ -66,7 +63,6 @@ jobs:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: test/reports/cobertura/runTests.sh/cobertura.xml coverage-reports: test/reports/cobertura/runTests.sh/cobertura.xml
- name: Run Super-Linter Tests - name: Run Super-Linter Tests
if: ${{ github.repository == 'github/super-linter' && github.ref != 'refs/heads/main' }}
run: | run: |
docker run \ docker run \
-e RUN_LOCAL=true \ -e RUN_LOCAL=true \
@ -79,7 +75,6 @@ jobs:
env: env:
tag: ${{ matrix.images.image-id }} tag: ${{ matrix.images.image-id }}
- name: Lint Codebase - name: Lint Codebase
if: ${{ github.repository == 'github/super-linter' && github.ref != 'refs/heads/main' }}
run: | run: |
docker run \ docker run \
-e RUN_LOCAL=true \ -e RUN_LOCAL=true \