File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ # NOTE: This file is automatically generated from values at:
16+ # https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/master/infra/terraform/test-org/org/locals.tf
17+
1518name : ' lint'
1619
1720on :
@@ -32,12 +35,12 @@ jobs:
3235 - id : variables
3336 run : |
3437 MAKEFILE=$(find . -name Makefile -print -quit)
35- if [ ! -f $MAKEFILE ]; then
38+ if [ ! -z " $MAKEFILE" ]; then
3639 echo dev-tools=gcr.io/cloud-foundation-cicd/cft/developer-tools:1 >> "$GITHUB_OUTPUT"
3740 else
3841 VERSION=$(grep "DOCKER_TAG_VERSION_DEVELOPER_TOOLS := " $MAKEFILE | cut -d\ -f3)
3942 IMAGE=$(grep "DOCKER_IMAGE_DEVELOPER_TOOLS := " $MAKEFILE | cut -d\ -f3)
4043 REGISTRY=$(grep "REGISTRY_URL := " $MAKEFILE | cut -d\ -f3)
4144 echo dev-tools=${REGISTRY}/${IMAGE}:${VERSION} >> "$GITHUB_OUTPUT"
4245 fi
43- - run : docker run --rm -e EXCLUDE_LINT_DIRS - v ${{ github.workspace }}:/workspace ${{ steps.variables.outputs.dev-tools }} /usr/local/bin/test_lint.sh
46+ - run : docker run --rm -v ${{ github.workspace }}:/workspace ${{ steps.variables.outputs.dev-tools }} /usr/local/bin/test_lint.sh
You can’t perform that action at this time.
0 commit comments