Skip to content

Suffix major version upgrade branches with -major #472

Suffix major version upgrade branches with -major

Suffix major version upgrade branches with -major #472

Workflow file for this run

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOLANGCI_LINT_VERSION: v1.55.2
name: Pull Request
on: [pull_request]
jobs:
build:
name: Build and Test
strategy:
matrix:
go-version: [1.21.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