Files
proxmox-cloud-controller-ma…/.github/workflows/build-test.yaml
dependabot[bot] 591b88d7d3 chore: bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 12:03:40 +03:00

41 lines
751 B
YAML

name: Build check
on:
pull_request:
branches:
- main
paths:
- 'go.mod'
- 'go.sum'
- 'cmd/**'
- 'pkg/**'
- 'Dockerfile'
jobs:
build:
name: Build
timeout-minutes: 15
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up go
timeout-minutes: 5
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53.3
args: --config=.golangci.yml
- name: Unit
run: make unit
- name: Build
timeout-minutes: 10
run: make build