-
Notifications
You must be signed in to change notification settings - Fork 15
35 lines (29 loc) · 863 Bytes
/
master.yml
File metadata and controls
35 lines (29 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Intel Corporation
name: Master workflow
on:
push:
branches:
- master
pull_request:
jobs:
build-and-test:
uses: onosproject/.github/.github/workflows/go-build-test.yml@main
lint:
uses: onosproject/.github/.github/workflows/go-lint.yml@main
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: |
go mod vendor
docker build . -f build/aether-roc-api/Dockerfile -t onosproject/aether-roc-api:latest
rm -rf vendor
license-check:
uses: onosproject/.github/.github/workflows/license-check.yml@main
fossa-check:
uses: onosproject/.github/.github/workflows/fossa-scan.yml@main