Skip to content

Remove redundant method #281

Remove redundant method

Remove redundant method #281

Workflow file for this run

name: build
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
name: Build with Go ${{ matrix.go-version }}
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Go
uses: actions/setup-go@v2
with:
stable: false
go-version: ${{ matrix.go-version }}
- name: Run vet
run: go vet ./...
- name: Run staticcheck
uses: dominikh/[email protected]
with:
version: "2023.1.2"
install-go: false
cache-key: ${{ matrix.go-version }}
- name: Run tests
run: go test -v ./...