Add support of passing attributes in publish/consume #422
Workflow file for this run
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: Lmstfy Actions # don't edit while the badge was depend on this | |
on: | |
push: | |
branches: | |
- master | |
- feature/* | |
tags: | |
- v* | |
pull_request: | |
branches: | |
- master | |
- feature/* | |
jobs: | |
lint-build-test: | |
name: Lint/Build/Test | |
strategy: | |
matrix: | |
go-version: [1.17.x,1.18.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{matrix.go-version}} | |
- name: Checkout Code Base | |
uses: actions/checkout@v2 | |
- name: Restore Go Module Cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Make Lint | |
run: make lint | |
- name: Build | |
run: make | |
- name: Test | |
run: make test | |
- name: Upload Coverage Report | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage.out | |
flags: unittests | |
name: codecov-umbrella |