2022-09-14 07:25:14 +00:00
|
|
|
name: Nancy
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-06-19 17:30:23 +00:00
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
pull_request:
|
2022-09-14 07:25:14 +00:00
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
- 'release*'
|
|
|
|
|
2023-01-06 15:24:55 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-01-06 10:07:06 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2022-09-14 07:25:14 +00:00
|
|
|
jobs:
|
|
|
|
nancy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Nancy
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-06-12 08:11:03 +00:00
|
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
2023-01-05 15:52:52 +00:00
|
|
|
- name: Setup build env
|
|
|
|
uses: ./.github/actions/setup-build-env
|
2022-09-14 07:25:14 +00:00
|
|
|
- name: WriteGoList
|
|
|
|
run: go list -json -m all > go.list
|
|
|
|
- name: Nancy SAST Scan
|
2023-02-24 10:45:19 +00:00
|
|
|
uses: sonatype-nexus-community/nancy-github-action@726e338312e68ecdd4b4195765f174d3b3ce1533 # v1.0.3
|