Skip to content

chore(deps): bump AbsaOSS/organizational-workflows/.github/workflows/aquasec-scan.yml from 1.4.1 to 2.0.0 #1983

chore(deps): bump AbsaOSS/organizational-workflows/.github/workflows/aquasec-scan.yml from 1.4.1 to 2.0.0

chore(deps): bump AbsaOSS/organizational-workflows/.github/workflows/aquasec-scan.yml from 1.4.1 to 2.0.0 #1983

Workflow file for this run

#
# Copyright 2021 ABSA Group Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Format Check
on:
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize ]
jobs:
scala-format-check:
name: Scala Format Check
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup JDK 8
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: temurin
java-version: '8'
- name: Run scalafmt And Print Diff
continue-on-error: true
run: sbt scalafmt scalafmtSbt && git diff --exit-code