Skip to content

Commit

Permalink
Update fossa workflow's action version and trigger branches (#15)
Browse files Browse the repository at this point in the history
* Pin fossa-action version

Signed-off-by: Shubham Sharma <[email protected]>

* Update branch naming for workflow

Signed-off-by: Shubham Sharma <[email protected]>

* Fix lint step in GHA.

Signed-off-by: Artur Souza <[email protected]>

Co-authored-by: Artur Souza <[email protected]>
  • Loading branch information
shubham1172 and artursouza authored Apr 20, 2022
1 parent 3b069ad commit 15a34b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15a34b1

Please sign in to comment.