chore(deps): bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 (#230) #605
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: Release | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
go: ['1.18', '1.19', '1.20'] | |
name: Go ${{ matrix.go }} test | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: go test -race -v -coverprofile=profile.cov ./pkg/... | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: ./profile.cov | |
name: codecov-go | |
release: | |
runs-on: ubuntu-22.04 | |
needs: [test] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Source checkout | |
uses: actions/checkout@v3 | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v2 | |
with: | |
dry_run: false | |
semantic_version: 17.0.4 | |
extra_plugins: | | |
@semantic-release/exec@5.0.0 |