new: added a publish s3 subcmd, used by build cmd. #47
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: CI build | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.21 | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test | |
# NOT WORKING FOR NOW because of build constraints | |
#- name: Update coverage report | |
# if: github.event_name == 'push' | |
# uses: ncruces/go-coverage-report@v0 |