Skip to content

[pull] main from hashicorp:main #5658

[pull] main from hashicorp:main

[pull] main from hashicorp:main #5658

---
name: TeamCity Config Test
permissions:
contents: read
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/teamcity-test.yaml'
- '!.teamcity/components/generated/**'
- '!.teamcity/target/**'
- '.teamcity/**'
concurrency:
group: 'tctest-${{ github.head_ref }}'
cancel-in-progress: true
jobs:
teamcity-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: zulu
java-version: 17
java-package: jdk
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- run: make teamcity-test