Skip to content

Rename example data source to OnePassword item data source #368

Rename example data source to OnePassword item data source

Rename example data source to OnePassword item data source #368

Workflow file for this run

name: Verify Docs
on: [push, pull_request]
jobs:
verify-docs:
name: Verify docs
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ^1.19
- name: Install Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_wrapper: false
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Generate docs
run: go generate
- name: Check if git detects no changes
run: |
if output=$(git status --porcelain) && [ -z "$output" ]; then
echo "Docs are up to date";
else
echo "Not all docs are up-to-date. Run 'go generate' and commit the changes.";
echo $output;
exit 1;
fi