Alexander Chuprov
f25b601e0a
Some checks failed
Vulncheck / Vulncheck (pull_request) Successful in 2m9s
Tests and linters / Staticcheck (pull_request) Successful in 4m26s
Tests and linters / Tests (1.21) (pull_request) Successful in 7m53s
Build / Build Components (1.21) (pull_request) Failing after 10m50s
Build / Build Components (1.22) (pull_request) Failing after 10m23s
DCO action / DCO (pull_request) Failing after 10m1s
Pre-commit hooks / Pre-commit (pull_request) Failing after 14m54s
Tests and linters / Lint (pull_request) Failing after 14m50s
Tests and linters / Tests (1.22) (pull_request) Failing after 14m46s
Tests and linters / Tests with -race (pull_request) Failing after 14m44s
Tests and linters / gopls check (pull_request) Failing after 14m34s
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
42 lines
927 B
YAML
42 lines
927 B
YAML
name: Build
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Components
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go_versions: [ '1.21', '1.22' ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
# Allows to fetch all history for all branches and tags.
|
|
# Need this for proper versioning.
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: '${{ matrix.go_versions }}'
|
|
cache: true
|
|
|
|
- name: Build CLI
|
|
run: make bin/frostfs-cli
|
|
- run: bin/frostfs-cli --version
|
|
|
|
- name: Build NODE
|
|
run: make bin/frostfs-node
|
|
|
|
- name: Build IR
|
|
run: make bin/frostfs-ir
|
|
|
|
- name: Build ADM
|
|
run: make bin/frostfs-adm
|
|
- run: bin/frostfs-adm --version
|
|
|
|
- name: Build LENS
|
|
run: make bin/frostfs-lens
|
|
- run: bin/frostfs-lens --version
|