Skip to content

VKP-74-ci: update deploy workflow to be triggered only when PR is mer… #8

VKP-74-ci: update deploy workflow to be triggered only when PR is mer…

VKP-74-ci: update deploy workflow to be triggered only when PR is mer… #8

Workflow file for this run

name: Go
on:
push:
branches: [ main, dev, VKP-74-ci ]
pull_request:
branches: [ main, dev ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v2
with:
go-version: ^1.22
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go get ./...
- name: Run make test
run: make test
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58