ci: add Fossa CLI workflow #525
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go | |
on: [push, pull_request] | |
jobs: | |
verify-dependencies: | |
name: Verify Dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19.9 | |
cache: false | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run Deps Check | |
run: make verify-deps | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19.9 | |
cache: false | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build Openebsctl | |
run: make openebsctl |