build(deps): bump go.uber.org/zap from 1.24.0 to 1.27.0 #574
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: build-pr | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: setup go environment | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.20' | |
- name: download dependencies | |
run: make bootstrap | |
- name: run unit tests | |
run: make test | |
- name: build binary | |
run: make build-linux | |
- name: run acceptance tests | |
run: sudo pip install virtualenv && make acceptance | |
- name: upload coverage report | |
uses: actions/upload-artifact@main | |
with: | |
name: chartmuseum-coverage-report-${{ github.sha }} | |
path: .cover/ | |
if: always() | |
- name: upload acceptance test report | |
uses: actions/upload-artifact@main | |
with: | |
name: chartmuseum-acceptance-report-${{ github.sha }} | |
path: .robot/ | |
if: always() |