mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-24 23:21:12 -05:00
put it back
This commit is contained in:
parent
df4d63e909
commit
b558ed7921
1 changed files with 7 additions and 1 deletions
8
.github/workflows/deploy-DEV.yml
vendored
8
.github/workflows/deploy-DEV.yml
vendored
|
@ -53,12 +53,18 @@ jobs:
|
|||
shell: bash
|
||||
run: .automation/upload-docker.sh
|
||||
|
||||
#######################
|
||||
# Get the branch name #
|
||||
#######################
|
||||
- name: Extract branch name
|
||||
shell: bash
|
||||
run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
|
||||
|
||||
################################
|
||||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Run Test Cases
|
||||
shell: bash
|
||||
run: |
|
||||
echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
|
||||
docker pull admiralawkbar/super-linter:${BRANCH_NAME}
|
||||
docker run -e RUN_LOCAL=true -e TEST_CASE_RUN=true -v ${GITHUB_WORKSPACE}:/tmp/lint admiralawkbar/super-linter:${BRANCH_NAME}
|
||||
|
|
Loading…
Reference in a new issue