chore(deps): bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.35.0 #73
Workflow file for this run
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| name: run tests | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| go-version: [1.16.x,1.15.x,1.14.x] | |
| platform: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v1 | |
| with: | |
| username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
| password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
| - name: Install Go | |
| if: success() | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Run tests | |
| run: go test -race ./... | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Go | |
| if: success() | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: 1.16.x | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v1 | |
| with: | |
| username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
| password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
| - name: Run coverage | |
| run: ./go_test.sh | |
| - name: Upload coverage to Codecov | |
| run: bash <(curl -s https://codecov.io/bash) |