Skip to content

feat: put atest-collector into the image #296

feat: put atest-collector into the image

feat: put atest-collector into the image #296

Workflow file for this run

name: Build
on:
- push
- pull_request
jobs:
Test:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- uses: actions/checkout@v3.0.0
- name: Test
run: |
go test ./... -coverprofile coverage.out
make test test-collector
- name: Report
if: github.actor == 'linuxsuren'
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: |
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.out --force-coverage-parser go
Build:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- uses: actions/checkout@v3.0.0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4.1.1
with:
github_token: ${{ secrets.GH_PUBLISH_SECRETS }}
version: v1.14.0
args: release --skip-publish --rm-dist --snapshot
- name: Image
run: make build-image