mirror of https://github.com/dapr/kit.git
Update fossa workflow's action version and trigger branches (#15)
* Pin fossa-action version Signed-off-by: Shubham Sharma <shubhash@microsoft.com> * Update branch naming for workflow Signed-off-by: Shubham Sharma <shubhash@microsoft.com> * Fix lint step in GHA. Signed-off-by: Artur Souza <artursouza.ms@outlook.com> Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
This commit is contained in:
parent
3b069ad2b1
commit
15a34b12af
|
@ -15,16 +15,12 @@ name: fossa
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- release-*
|
||||
- feature/*
|
||||
- main
|
||||
tags:
|
||||
- v*
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- release-*
|
||||
- feature/*
|
||||
- main
|
||||
workflow_dispatch: {}
|
||||
jobs:
|
||||
fossa-scan:
|
||||
|
@ -37,12 +33,12 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
|
||||
- name: "Run FOSSA Scan"
|
||||
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
|
||||
uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
|
||||
with:
|
||||
api-key: ${{ env.FOSSA_API_KEY }}
|
||||
|
||||
- name: "Run FOSSA Test"
|
||||
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
|
||||
uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
|
||||
with:
|
||||
api-key: ${{ env.FOSSA_API_KEY }}
|
||||
run-tests: true
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Run golangci-lint
|
||||
if: matrix.target_arch == 'amd64' && matrix.target_os == 'linux'
|
||||
uses: golangci/golangci-lint-action@v2.2.1
|
||||
uses: golangci/golangci-lint-action@v3.1.0
|
||||
with:
|
||||
version: ${{ env.GOLANGCI_LINT_VER }}
|
||||
- name: Run make go.mod check-diff
|
||||
|
|
Loading…
Reference in New Issue