Skip to content

[MER-3309] Add an extra merge commit detection based on commit messages #745

[MER-3309] Add an extra merge commit detection based on commit messages

[MER-3309] Add an extra merge commit detection based on commit messages #745

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ "**" ]
jobs:
go-unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Build
run: go build -v ./...
- name: Test
run: go test -v --vet=all ./...
- name: CLI smoke test
run: go run ./cmd/av --help
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- run: >
go run github.com/golangci/golangci-lint/cmd/golangci-lint
run --version --out-format github-actions