feat: adding allow list instead for metric view and cardinality configuration support #562
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/README.md' | |
- 'smoke-tests/matrix' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation | |
- name: Check out code | |
uses: actions/checkout@v2.3.4 | |
with: | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
fetch-depth: 0 | |
submodules: true | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: adopt | |
java-version: 11 | |
- name: create checksum file | |
uses: hypertrace/github-actions/checksum@main | |
- name: Cache packages | |
id: cache-packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.gradle | |
key: gradle-packages-${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/checksum.txt') }} | |
restore-keys: | | |
gradle-packages-${{ runner.os }}-${{ github.job }} | |
gradle-packages-${{ runner.os }} | |
- name: build | |
run: make build | |
env: | |
JVM_OPTS: -Xmx1g --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED | |
TERM: dumb | |
muzzle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2.3.4 | |
with: | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
fetch-depth: 0 | |
submodules: true | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: adopt | |
java-version: 11 | |
- name: create checksum file | |
uses: hypertrace/github-actions/checksum@main | |
- name: Cache packages | |
id: cache-packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.gradle | |
key: gradle-packages-${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/checksum.txt') }} | |
restore-keys: | | |
gradle-packages-${{ runner.os }}-${{ github.job }} | |
gradle-packages-${{ runner.os }} | |
- name: muzzle | |
run: make muzzle | |
env: | |
JVM_OPTS: -Xmx1g --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED | |
TERM: dumb | |
#TODO | |
# dependency-check: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Check out code | |
# uses: actions/checkout@v2.3.4 | |
# with: | |
# ref: ${{github.event.pull_request.head.ref}} | |
# repository: ${{github.event.pull_request.head.repo.full_name}} | |
# fetch-depth: 0 | |
# submodules: true | |
# | |
# - name: create checksum file | |
# uses: hypertrace/github-actions/checksum@main | |
# | |
# - name: Cache packages | |
# id: cache-packages | |
# uses: actions/cache@v4 | |
# with: | |
# path: ~/.gradle | |
# key: gradle-packages-${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/checksum.txt') }} | |
# restore-keys: | | |
# gradle-packages-${{ runner.os }}-${{ github.job }} | |
# gradle-packages-${{ runner.os }} | |
# | |
# - name: dependency check | |
# run: make dependency-check | |
# env: | |
# JVM_OPTS: -Xmx1g | |
# TERM: dumb |