2022-09-14 12:55:14 +05:30
|
|
|
name: Nancy
|
|
|
|
|
2023-06-30 13:44:57 +02:00
|
|
|
permissions: {}
|
|
|
|
|
2022-09-14 12:55:14 +05:30
|
|
|
on:
|
|
|
|
push:
|
2023-06-19 19:30:23 +02:00
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
pull_request:
|
2022-09-14 12:55:14 +05:30
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
- 'release*'
|
|
|
|
|
2023-01-06 16:24:55 +01:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-09-14 12:55:14 +05:30
|
|
|
jobs:
|
|
|
|
nancy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Nancy
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-09-25 07:39:53 +00:00
|
|
|
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
2023-09-27 10:24:27 +02:00
|
|
|
- name: Setup caches
|
|
|
|
uses: ./.github/actions/setup-caches
|
|
|
|
timeout-minutes: 5
|
|
|
|
continue-on-error: true
|
2023-01-05 16:52:52 +01:00
|
|
|
- name: Setup build env
|
|
|
|
uses: ./.github/actions/setup-build-env
|
2023-08-30 22:44:51 +02:00
|
|
|
timeout-minutes: 10
|
2022-09-14 12:55:14 +05:30
|
|
|
- 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
|