Bump golang.org/x/oauth2 from 0.23.0 to 0.27.0 #360
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: test | |
| env: | |
| GO111MODULE: on | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| go-version: [ 1.23.x ] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install workflow dependencies | |
| run: sudo apt install -y make gcc | |
| - name: Install images | |
| run: | | |
| docker pull mysql:8.0.22 | |
| docker pull postgres:12.5 | |
| docker pull mcr.microsoft.com/mssql/server:2019-latest | |
| - name: Install Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Cache go modules | |
| uses: actions/cache@v2 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: ${{ runner.os }}-go- | |
| - name: Install dependencies | |
| run: make deps | |
| - name: Lint and test | |
| run: make all COVERAGE=1 | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v1 |