|
| 1 | +# Copyright 2024 ABSA Group Limited |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | +# |
| 15 | + |
1 | 16 | name: CI Scala |
2 | 17 |
|
3 | 18 | on: |
|
60 | 75 | script: | |
61 | 76 | core.setFailed('Changed files coverage is less than ${{ env.changed }}%!') |
62 | 77 |
|
63 | | - - name: Aquasec Manifest Generation |
64 | | - run: | |
65 | | - export BILLY_SERVER=https://billy.eu-1.codesec.aquasec.com |
66 | | - curl -sLo install.sh download.codesec.aquasec.com/billy/install.sh |
67 | | - curl -sLo install.sh.checksum https://github.com/argonsecurity/releases/releases/latest/download/install.sh.checksum |
68 | | - if ! cat install.sh.checksum | sha256sum --check; then |
69 | | - echo "install.sh checksum failed" |
70 | | - exit 1 |
71 | | - fi |
72 | | - BINDIR="." sh install.sh |
73 | | - rm install.sh install.sh.checksum |
74 | | - ./billy generate \ |
75 | | - --access-token "${{ secrets.GITHUB_TOKEN }}" \ |
76 | | - --aqua-key "${{ secrets.AQUA_KEY }}" \ |
77 | | - --aqua-secret "${{ secrets.AQUA_SECRET }}" \ |
78 | | - --cspm-url https://eu-1.api.cloudsploit.com \ |
79 | | - --artifact-path "${{ github.workspace }}" |
80 | 78 |
|
81 | 79 | format-check: |
82 | 80 | name: Format Check |
|
0 commit comments