Backport of docs: Fix parameter type and default value in client reserved configuration. into release/1.8.x #2220
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
# Run 'make check' on paths ignored by test-core.yaml. | |
name: Run checks | |
on: | |
pull_request: | |
paths: | |
- 'demo/**' | |
- 'e2e/terraform/**' | |
- 'terraform/**' | |
- 'website/**' | |
push: | |
branches: | |
- 'main' | |
- 'release/**' | |
paths: | |
- 'demo/**' | |
- 'e2e/terraform/**' | |
- 'terraform/**' | |
- 'website/**' | |
workflow_call: | |
jobs: | |
checks: | |
# largest available self-hosted disk for extra iops because linting is io-intensive | |
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux", "disk_gb=255"]') || 'ubuntu-22.04' }} | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 0 # needs tags for checkproto | |
- uses: ./.github/actions/vault-secrets | |
with: | |
paths: |- | |
kv/data/github/hashicorp/nomad-enterprise/gha ELEVATED_GITHUB_TOKEN ; | |
- name: Git config token | |
if: endsWith(github.repository, '-enterprise') | |
run: git config --global url.'https://${{ env.ELEVATED_GITHUB_TOKEN }}@github.com'.insteadOf 'https://github.com' | |
- uses: hashicorp/setup-golang@v3 | |
- name: Run make check | |
run: | | |
make missing | |
make bootstrap | |
make check | |
permissions: | |
contents: read | |
id-token: write |