fixed it up

This commit is contained in:
Lucas Gravley 2020-02-04 15:51:38 -06:00
parent 8e64ae4512
commit df4d63e909

View file

@ -53,18 +53,12 @@ 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}