Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
daynewlee committed Feb 7, 2024
1 parent 8feae67 commit 693f3b1
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/test-v4-dump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,52 +36,52 @@ jobs:
name: updater-build
path: updater-build.tgz

pre-build-scanner:
runs-on: ubuntu-latest
container:
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.3.61
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- uses: ./.github/actions/job-preamble

- name: Cache Go dependencies
uses: ./.github/actions/cache-go-dependencies

- name: Build Scanner
run: make scanner-build-nodeps

- name: Archive the build to preserve permissions
run: tar -cvzf scanner-build.tgz image/scanner/bin/scanner

- uses: actions/upload-artifact@v4
with:
name: scanner-build
path: scanner-build.tgz

style-check:
runs-on: ubuntu-latest
container:
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.3.61
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- uses: ./.github/actions/job-preamble

- name: Cache Go dependencies
uses: ./.github/actions/cache-go-dependencies

- name: Run style checks
run: ./scripts/ci/jobs/style-checks.sh
pre-build-scanner:
runs-on: ubuntu-latest
container:
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.3.61
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- uses: ./.github/actions/job-preamble

- name: Cache Go dependencies
uses: ./.github/actions/cache-go-dependencies

- name: Build Scanner
run: make scanner-build-nodeps

- name: Archive the build to preserve permissions
run: tar -cvzf scanner-build.tgz image/scanner/bin/scanner

- uses: actions/upload-artifact@v4
with:
name: scanner-build
path: scanner-build.tgz

style-check:
runs-on: ubuntu-latest
container:
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.3.61
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- uses: ./.github/actions/job-preamble

- name: Cache Go dependencies
uses: ./.github/actions/cache-go-dependencies

- name: Run style checks
run: ./scripts/ci/jobs/style-checks.sh

generate-v4-dumps:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 693f3b1

Please sign in to comment.