Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(deps): bump github.com/coder/coder/v2 from 2.23.0 to 2.23.1 (#231)#646

chore(deps): bump github.com/coder/coder/v2 from 2.23.0 to 2.23.1 (#231)

chore(deps): bump github.com/coder/coder/v2 from 2.23.0 to 2.23.1 (#231) #646

Workflow file for this run

# Terraform Provider testing workflow.
name:Tests
# This GitHub action runs your tests for each pull request and push.
# Optionally, you can turn it on using a schedule for regular testing.
on:
pull_request:
paths-ignore:
-"README.md"
push:
branches:
-main
paths-ignore:
-"README.md"
# Testing only needs permissions to read the repository contents.
permissions:
contents:read
jobs:
# Ensure project builds before running testing matrix
build:
name:Build
runs-on:ubuntu-latest
timeout-minutes:5
steps:
-uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
-uses:actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5# v5.5.0
with:
go-version-file:"go.mod"
cache:true
-run:go mod download
-run:go build -v .
-name:Run linters
uses:golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837# v6.5.0
with:
version:latest
generate:
runs-on:ubuntu-latest
steps:
-uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
-uses:actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5# v5.5.0
with:
go-version-file:"go.mod"
cache:true
-uses:hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd# v3.1.2
-run:go generate ./...
-name:git diff
run:|
if [[ -n $(git ls-files --other --modified --exclude-standard) ]]; then
echo "Unexpected difference in directories after code generation. Run 'make gen' and include the output in the commit."
exit 1
fi
# Run acceptance tests in a matrix with Terraform CLI versions
test:
name:Terraform Provider Acceptance Tests
needs:build
runs-on:ubuntu-latest
timeout-minutes:15
strategy:
fail-fast:false
matrix:
# list whatever Terraform versions here you would like to support
terraform:
-"1.0.*"
-"1.1.*"
-"1.2.*"
-"1.3.*"
-"1.4.*"
-"1.5.*"
-"1.6.*"
-"1.7.*"
-"1.8.*"
-"1.9.*"
steps:
-uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
-uses:actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5# v5.5.0
with:
go-version-file:"go.mod"
cache:true
-uses:hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd# v3.1.2
with:
terraform_version:${{ matrix.terraform }}
terraform_wrapper:false
-run:go mod download
-run:go test -v -cover ./internal/provider/
env:
TF_ACC:"1"
CODER_ENTERPRISE_LICENSE:${{ secrets.CODER_ENTERPRISE_LICENSE }}
timeout-minutes:10
lint:
name:Lint
runs-on:ubuntu-latest
timeout-minutes:5
steps:
-uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
-uses:actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5# v5.5.0
with:
go-version:"1.22"
id:go
-uses:hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd# v3.1.2
with:
terraform_version:"1.9.*"
terraform_wrapper:false
-name:Get dependencies
run:|
go mod download
-name:Lint fmt
run:|
make fmt
git diff --exit-code
-name:Lint gen
run:|
make gen
git diff --exit-code

[8]ページ先頭

©2009-2025 Movatter.jp