This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
Bump golang.org/x/sys from 0.0.0-20200826173525-f9321e4c35a6 to 0.1.0… #107
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
on: | |
push: | |
paths-ignore: | |
- VERSION | |
- LICENSE | |
- '**.md' | |
- charts/rotator/Chart.yaml | |
- '.github/**' | |
name: build | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.14.1' | |
- run: go version | |
- name: Setup buildevents | |
uses: kvrhdn/gha-buildevents@v1 | |
with: | |
apikey: ${{ secrets.GITHUB_TOKEN }} | |
dataset: buildevents | |
# Required: the job status, this will be used in the post section and sent | |
# as status of the trace. Must always be ${{ job.status }}. | |
job-status: ${{ job.status }} | |
- run: | | |
echo STEP_START=$(date +%s) >> $GITHUB_ENV | |
echo STEP_ID=$(echo install | sum | cut -f 1 -d \ ) >> $GITHUB_ENV | |
- name: Install dependencies | |
run: | | |
buildevents cmd $TRACE_ID $STEP_ID make-setup -- make setup | |
buildevents step $TRACE_ID $STEP_ID $STEP_START install | |
- run: | | |
echo STEP_START=$(date +%s) >> $GITHUB_ENV | |
echo STEP_ID=$(echo script | sum | cut -f 1 -d \ ) >> $GITHUB_ENV | |
- name: Run tests | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
buildevents cmd $TRACE_ID $STEP_ID codecov-validate -- curl --data-binary @codecov.yml https://codecov.io/validate | |
buildevents cmd $TRACE_ID $STEP_ID make-test -- make test | |
buildevents step $TRACE_ID $STEP_ID $STEP_START script | |
- run: | | |
echo STEP_START=$(date +%s) >> $GITHUB_ENV | |
echo STEP_ID=$(echo lint | sum | cut -f 1 -d \ ) >> $GITHUB_ENV | |
- name: Run lint | |
run: | | |
buildevents cmd $TRACE_ID $STEP_ID make-lint-ci -- make lint-ci | |
buildevents step $TRACE_ID $STEP_ID $STEP_START lint | |
- run: | | |
echo STEP_START=$(date +%s) >> $GITHUB_ENV | |
echo STEP_ID=$(echo after_success | sum | cut -f 1 -d \ ) >> $GITHUB_ENV | |
- name: Run codecov | |
run: | |
buildevents cmd $TRACE_ID $STEP_ID codecov-upload -- bash <(curl -s https://codecov.io/bash) | |
buildevents step $TRACE_ID $STEP_ID $STEP_START after_success |