From c9556b1da69179886b68c084591177155e53275b Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Thu, 9 Jan 2025 02:08:31 +0100 Subject: [PATCH] drop old actions workflow Signed-off-by: Mark Sagi-Kazar --- .github/workflows/test.yml | 39 -------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 1755fb84..00000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,39 +0,0 @@ -on: - push: - branches: [main] - pull_request: -name: Test -permissions: - contents: read -jobs: - test: - strategy: - matrix: - go-version: [1.19.x, 1.20.x, 1.21.x] - platform: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{ matrix.platform }} - steps: - - name: Install Go - uses: actions/setup-go@v4 - with: - go-version: ${{ matrix.go-version }} - - name: Install staticcheck - if: matrix.go-version == '1.21.x' - run: go install honnef.co/go/tools/cmd/staticcheck@latest - shell: bash - - name: Update PATH - run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH - shell: bash - - name: Checkout code - uses: actions/checkout@v3 - - name: Fmt - if: matrix.platform != 'windows-latest' # :( - run: "diff <(gofmt -d .) <(printf '')" - shell: bash - - name: Vet - run: go vet ./... - - name: Staticcheck - if: matrix.go-version == '1.21.x' - run: staticcheck ./... - - name: Test - run: go test -race ./...