mirror of
https://github.com/outbackdingo/proxmox-cloud-controller-manager.git
synced 2026-01-27 10:20:13 +00:00
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>
41 lines
751 B
YAML
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
|