chore: update CI/CD to remove deprecated set-output command #192
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: PR Build | |
on: | |
pull_request: | |
branches: | |
- "main" | |
- "release-*" | |
jobs: | |
build_and_test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- id: info | |
uses: konveyor/get-env-info@v1 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ steps.info.outputs.go_version }} | |
- name: install upx to compress binaries | |
run: sudo apt-get install -y upx | |
- run: make ci | |
- run: make test-coverage | |
- name: upload coverage | |
uses: codecov/codecov-action@v1 |