diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index e7a8672..1b40883 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml index 9132e61..13b7fad 100644 --- a/.github/workflows/kit.yml +++ b/.github/workflows/kit.yml @@ -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