Skip to content

Bump github.com/onosproject/onos-lib-go from 0.10.24 to 0.10.25 #6

Bump github.com/onosproject/onos-lib-go from 0.10.24 to 0.10.25

Bump github.com/onosproject/onos-lib-go from 0.10.24 to 0.10.25 #6

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Intel Corporation
name: Master workflow
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build
run: go build -o build/_output/onos-pci ./cmd/onos-pci
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: golangci/[email protected]
with:
version: latest
args: -v --config ./.golangci.yml
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Unit tests
run: |
go test -race github.com/onosproject/onos-pci/pkg/...
go test -race github.com/onosproject/onos-pci/cmd/...
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build Docker image
run: |
git clone https://github.com/onosproject/build-tools.git build/build-tools
go mod vendor
docker build . -f build/onos-pci/Dockerfile -t onosproject/onos-pci:latest
rm -rf vendor
license-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: reuse lint
uses: fsfe/reuse-action@v2
fossa-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: FOSSA scan
uses: fossa-contrib/fossa-action@v3
with:
fossa-api-key: ba71392b9c3bf6d4ba4e64edeae7f293