Ut/gen chall partitions #13069
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: Unit test & Lint | |
on: | |
push: | |
branches: [ master, staging ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: [self-hosted, arc-runner1] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.21' | |
- name: Check msgp changes | |
run: | | |
sudo apt update | |
sudo apt install build-essential nghttp2 libnghttp2-dev libssl-dev wget -y | |
./docker.local/bin/check.msgp.sh | |
- name: Build Base | |
run: ./docker.local/bin/build.base.sh | |
- name: Run unit tests | |
run: | | |
./docker.local/bin/unit_test_build.sh | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
files: ./code/coverage.txt | |
flags: Unit-Tests | |
verbose: true | |
lint: | |
runs-on: [self-hosted, arc-runner] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.21' | |
- name: Check msgp changes | |
run: | | |
sudo apt update -y | |
sudo apt install build-essential nghttp2 libnghttp2-dev libssl-dev wget -y | |
./docker.local/bin/check.msgp.sh | |
- name: Build Base | |
run: ./docker.local/bin/build.base.sh | |
- name: Run Linter | |
run: ./docker.local/bin/linter.sh |