Skip to content

[FEEDS-42]pass custom var to request #122

[FEEDS-42]pass custom var to request

[FEEDS-42]pass custom var to request #122

Workflow file for this run

name: build
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
name: 🧪 Test & lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Commit message lint
uses: wagoid/commitlint-github-action@v4
- name: Restore cache
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Test
env:
STREAM_KEY: ${{ secrets.STREAM_KEY }}
STREAM_SECRET: ${{ secrets.STREAM_SECRET }}
STREAM_APP_ID: ${{ secrets.STREAM_APP_ID }}
run: |
./gradlew spotlessCheck --no-daemon
./gradlew test --no-daemon