chore(deps): bump github.com/ogen-go/ogen from 1.6.0 to 1.8.0 #455
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: test | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "README.md" | |
pull_request: | |
paths-ignore: | |
- "README.md" | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- run: go mod download | |
- run: go build -v . | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- run: go mod download | |
- run: go test -v -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./... | |
timeout-minutes: 10 | |
- uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: test | |
contentful-management-go-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- run: go mod download | |
- run: go test -v -coverprofile=coverage.txt -covermode=atomic ./internal/contentful-management-go/... | |
env: | |
CONTENTFUL_MANAGEMENT_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_MANAGEMENT_ACCESS_TOKEN }} | |
timeout-minutes: 10 | |
- uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: contentful-management-go | |
testacc: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
terraform: | |
- "1.8.*" | |
- "1.9.*" | |
concurrency: | |
group: testacc | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- uses: hashicorp/[email protected] | |
with: | |
terraform_version: ${{ matrix.terraform }} | |
terraform_wrapper: false | |
- run: go mod download | |
- run: go test -v -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./internal/provider/ | |
env: | |
TF_ACC: "1" | |
CONTENTFUL_MANAGEMENT_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_MANAGEMENT_ACCESS_TOKEN }} | |
timeout-minutes: 10 | |
- uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: testacc-${{ matrix.terraform }} |