build(deps): bump github.com/baidubce/bce-sdk-go in /services/bos #7919
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 Test" | |
on: [ push,pull_request ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | |
cancel-in-progress: true | |
jobs: | |
build_test: | |
name: Build Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.17" | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
- name: Format | |
run: if [ "$(gofmt -l . | tee >&2 | wc -l)" -gt 0 ]; then exit 1; fi | |
- name: Build | |
run: make build-all | |
- name: Git Diff | |
run: if [ "$(git diff | tee >&2 | wc -l)" -gt 0 ]; then exit 1; fi |