Skip to content

Fix codefreeze to check PR target branch correctly #148

Fix codefreeze to check PR target branch correctly

Fix codefreeze to check PR target branch correctly #148

Workflow file for this run

name: Test
on:
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test_groovy:
name: Groovy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'
- name: Run Groovy Tests
working-directory: adopt-github-release
run: ./gradlew --info test
test_node:
name: Node
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: 'generate-release-notes/generate-release-notes/package-lock.json'
- name: Install Node Dependencies
working-directory: generate-release-notes/generate-release-notes
run: npm install
- name: Run Tests
working-directory: generate-release-notes/generate-release-notes
run: npm test