chore: Migrate edp-autotests pipelines to Tekton (#49) #470
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: Go | |
on: | |
push: | |
branches: [ master ] | |
env: | |
GOLANG_VERSION: '1.20' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GOLANG_VERSION }} | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test | |
- name: Upload codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
file: coverage.out |