Skip to content

SEC-090: Automated trusted workflow pinning (2024-10-14) #88

SEC-090: Automated trusted workflow pinning (2024-10-14)

SEC-090: Automated trusted workflow pinning (2024-10-14) #88

---
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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
with:
distribution: zulu
java-version: 17
java-package: jdk
- uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- run: make teamcity-test