Skip to content

golanci-lint: change output format (#887) #2394

golanci-lint: change output format (#887)

golanci-lint: change output format (#887) #2394

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-build-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-build-go-${{ hashFiles('**/go.sum') }}
- name: Build
run: make build
- name: Store operator binary
uses: actions/upload-artifact@v4
with:
name: elemental-operator
path: build/elemental-operator
overwrite: true
- name: Store register binary
uses: actions/upload-artifact@v4
with:
name: elemental-register
path: build/elemental-register
overwrite: true
- name: Store support binary
uses: actions/upload-artifact@v4
with:
name: elemental-support
path: build/elemental-support
overwrite: true