-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
staticcheck
GHA and update version for other GHAs (#15)
* Add `staticcheck` GHA and update version for other GHAs Signed-off-by: Arrobo, Gabriel <[email protected]> * Add `README` with go report card Signed-off-by: Arrobo, Gabriel <[email protected]> --------- Signed-off-by: Arrobo, Gabriel <[email protected]>
- Loading branch information
1 parent
9133d07
commit 9d78e92
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,21 @@ jobs: | |
go-version-file: 'go.mod' | ||
|
||
- name: Build | ||
run: go build | ||
run: go build ./... | ||
|
||
staticcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: WillAbides/[email protected] | ||
with: | ||
go-version-file: 'go.mod' | ||
|
||
- uses: dominikh/[email protected] | ||
with: | ||
version: latest | ||
install-go: false | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
|
@@ -35,7 +49,7 @@ jobs: | |
go-version-file: 'go.mod' | ||
|
||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v5.1.0 | ||
uses: golangci/golangci-lint-action@v6.1.0 | ||
with: | ||
version: latest | ||
args: -v --config ./.golangci.yml | ||
|
@@ -46,7 +60,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: reuse lint | ||
uses: fsfe/reuse-action@v3 | ||
uses: fsfe/reuse-action@v4 | ||
|
||
fossa-check: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- | ||
Copyright 2024-present Intel Corporation | ||
SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
[![Go Report Card](https://goreportcard.com/badge/github.com/omec-project/aper)](https://goreportcard.com/report/github.com/omec-project/aper) | ||
|
||
# aper |