Skip to content

SEC-090: Automated trusted workflow pinning (2024-09-09) #84

SEC-090: Automated trusted workflow pinning (2024-09-09)

SEC-090: Automated trusted workflow pinning (2024-09-09) #84

---
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
with:
distribution: zulu
java-version: 17
java-package: jdk
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- run: make teamcity-test