From 8b307578ff4725df50b14447dd38ebd502fbca4a Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Tue, 19 Mar 2024 09:52:25 -0700 Subject: [PATCH] add staticcheck to github actions --- .github/workflows/test.yaml | 4 +++- test | 7 ------- 2 files changed, 3 insertions(+), 8 deletions(-) delete mode 100755 test diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6d9cccbe..f021c1e2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,4 +21,6 @@ jobs: with: go-version: ${{ matrix.go }} - name: Test - run: "./test" + run: go test -v ./... + - name: Staticcheck + run: go run honnef.co/go/tools/cmd/staticcheck@2023.1.7 ./... diff --git a/test b/test deleted file mode 100755 index c7e7ec6a..00000000 --- a/test +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -set -e - -go test -v -race ./... -go vet github.com/coreos/go-oidc/... -go build -v ./...