fix(ci): implement stricter linting settings
This commit is contained in:
29 files changed
+443
-415
No files matched your search
@@ -13,13 +13,20 @@ jobs:
|
||||
name: Lint and test yay
|
||||
# This job runs on Linux
|
||||
runs-on: ubuntu-latest
|
||||
container: samip537/archlinux:devel
|
||||
container:
|
||||
image: samip537/archlinux:devel
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
- name: Run Build and tests
|
||||
run: |
|
||||
pacman -Sy --noconfirm go
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.25.1
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.26.0
|
||||
./bin/golangci-lint run ./...
|
||||
make test
|
||||
Reference in new issue
Block a user