Add checks for gofmt
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
38b2ef5966
commit
4063265478
2 changed files with 9 additions and 4 deletions
9
.github/workflows/go-tests.yml
vendored
9
.github/workflows/go-tests.yml
vendored
|
|
@ -18,19 +18,20 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libbtrfs-dev
|
||||
sudo apt-get install -y libbtrfs-dev build-essential
|
||||
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 'stable'
|
||||
- uses: actions/checkout@v3
|
||||
- uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.49.0
|
||||
skip-cache: true
|
||||
args: --timeout=8m --build-tags testing
|
||||
- name: Verify go vendor and go modules
|
||||
- name: Verify go vendor, go modules and gofmt
|
||||
run: |
|
||||
sudo apt-get install -y jq
|
||||
make verify-vendor
|
||||
make verify
|
||||
|
||||
go-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue