Fix existing issue search #492
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GOLANGCI_LINT_VERSION: v1.61.0 | |
name: Pull Request | |
on: [pull_request] | |
jobs: | |
build: | |
name: Build and Test | |
strategy: | |
matrix: | |
go-version: [1.23.x] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Check out source code | |
uses: actions/checkout@master | |
- name: Download module dependencies | |
env: | |
GOPROXY: "https://proxy.golang.org" | |
run: go mod download | |
- name: Build | |
run: make build | |
- name: Install golangci-lint | |
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)/bin" "${GOLANGCI_LINT_VERSION}" | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test |