Bump github.com/aliyun/alibaba-cloud-sdk-go from 1.62.472 to 1.62.509 #707
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: Go | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }} | |
ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }} | |
REGION_ID: ${{ secrets.REGION_ID }} | |
steps: | |
- uses: actions/checkout@v2 | |
# fetch submodule for aliyun-openapi-meta | |
- run: git submodule update --init --recursive | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: Build | |
run: make build | |
- name: Unit Test | |
run: go vet ./cli/... ./config/... ./i18n/... ./main/... ./openapi/... ./oss/... ./resource/... | |
- run: go test -race -coverprofile=coverage.txt -covermode=atomic ./cli/... ./config/... ./i18n/... ./meta/... ./main/... ./openapi/... ./resource/... | |
- name: Smoking Test | |
run: go run ./main/main.go | |
- run: test -z $ACCESS_KEY_ID -a -z $ACCESS_KEY_SECRET || bash ./integration/ecs_test | |
- run: bash <(curl -s https://codecov.io/bash) |