This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
Add Pending State and State Message in Webapi Agent #1784
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: Pull Request | |
on: pull_request | |
jobs: | |
tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19' | |
- name: Unit Tests | |
run: make install && make test_unit_codecov | |
- name: Push CodeCov | |
uses: codecov/[email protected] | |
with: | |
file: coverage.txt | |
flags: unittests | |
fail_ci_if_error: false | |
lint: | |
name: Run lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19' | |
- name: Lint | |
run: make install && make lint | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19' | |
- name: Go generate and diff | |
run: DELTA_CHECK=true make generate |