make CI: Add xref job

This commit is contained in:
Loïc Hoguin 2024-09-12 15:21:17 +02:00
parent b5011f058f
commit d9770fb18c
No known key found for this signature in database
GPG Key ID: C69E26E3A9DF618F
2 changed files with 29 additions and 1 deletions

View File

@ -107,4 +107,4 @@ jobs:
# bazel build //deps/rabbitmq_cli:compile_warnings_as_errors \ # bazel build //deps/rabbitmq_cli:compile_warnings_as_errors \
# --verbose_failures # --verbose_failures
# @todo Dialyzer xref # @todo Dialyzer

View File

@ -64,3 +64,31 @@ jobs:
- name: BUILD - name: BUILD
run: make run: make
xref:
name: Xref
strategy:
fail-fast: false
matrix:
erlang_version:
- 26
- 27
elixir_version:
- 1.17
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: CHECKOUT REPOSITORY
uses: actions/checkout@v4
- name: SETUP OTP & ELIXIR
uses: erlef/setup-beam@v1.17
with:
otp-version: ${{ matrix.erlang_version }}
elixir-version: ${{ matrix.elixir_version }}
hexpm-mirrors: |
https://builds.hex.pm
https://cdn.jsdelivr.net/hex
- name: XREF
run: make xref