summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-05-11 18:45:23 +0200
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-05-11 18:45:23 +0200
commit3120cfc2bde2b268c58ce4a93df323c13f84c202 (patch)
tree93471d660b04604dbea0b456e87a1f0606cdb01b
parent9065da91589a120727dc8d853ebd84980fc042ab (diff)
downloadrabbitmq-server-git-3120cfc2bde2b268c58ce4a93df323c13f84c202.tar.gz
GitHub Actions: Regen workflows
-rw-r--r--.github/workflows/test-erlang-otp-21.3.yaml38
-rw-r--r--.github/workflows/test-erlang-otp-22.3.yaml38
2 files changed, 76 insertions, 0 deletions
diff --git a/.github/workflows/test-erlang-otp-21.3.yaml b/.github/workflows/test-erlang-otp-21.3.yaml
index 22029a7710..d8aa5ad81b 100644
--- a/.github/workflows/test-erlang-otp-21.3.yaml
+++ b/.github/workflows/test-erlang-otp-21.3.yaml
@@ -100,6 +100,43 @@ jobs:
done
rm -fr umbrellas/master
# vim:sw=2:et:
+ dialyzer:
+ name: dialyzer
+ needs: [checks]
+ runs-on: ubuntu-18.04
+ steps:
+ - name: CHECKOUT REPOSITORY
+ if: success() && 'oldest' == 'latest'
+ uses: actions/checkout@v2
+ # https://github.com/marketplace/actions/setup-elixir
+ - name: CONFIGURE OTP & ELIXIR
+ if: success() && 'oldest' == 'latest'
+ uses: actions/setup-elixir@v1
+ with:
+ otp-version: 21.3
+ # https://github.com/elixir-lang/elixir/releases
+ elixir-version: 1.8.0
+ - name: CACHE DEPS
+ if: success() && 'oldest' == 'latest'
+ uses: actions/cache@v1
+ with:
+ path: deps
+ key: otp-21.3_git-${{ github.sha }}_deps
+ - name: CACHE DIALYZER PLT
+ if: success() && 'oldest' == 'latest'
+ uses: actions/cache@v1
+ with:
+ path: .rabbit.plt
+ key: plt-rabbit-erlang-21.3-g${{ github.sha }}
+ - name: RUN DIALYZER
+ if: success() && 'oldest' == 'latest'
+ run: |
+ branch_or_tag_name=${GITHUB_REF#refs/*/}
+ make dialyze \
+ base_rmq_ref=master \
+ current_rmq_ref=$branch_or_tag_name \
+ FULL=
+ # vim:sw=2:et:
eunit:
needs: [checks]
# https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
@@ -8920,6 +8957,7 @@ jobs:
# vim:sw=2:et:
capture-tested-deps-versions:
needs:
+ - dialyzer
- eunit
- ct-amqqueue_backward_compatibility
- ct-backing_queue
diff --git a/.github/workflows/test-erlang-otp-22.3.yaml b/.github/workflows/test-erlang-otp-22.3.yaml
index 1aab4cc02f..7e3fffb291 100644
--- a/.github/workflows/test-erlang-otp-22.3.yaml
+++ b/.github/workflows/test-erlang-otp-22.3.yaml
@@ -100,6 +100,43 @@ jobs:
done
rm -fr umbrellas/master
# vim:sw=2:et:
+ dialyzer:
+ name: dialyzer
+ needs: [checks]
+ runs-on: ubuntu-18.04
+ steps:
+ - name: CHECKOUT REPOSITORY
+ if: success() && 'latest' == 'latest'
+ uses: actions/checkout@v2
+ # https://github.com/marketplace/actions/setup-elixir
+ - name: CONFIGURE OTP & ELIXIR
+ if: success() && 'latest' == 'latest'
+ uses: actions/setup-elixir@v1
+ with:
+ otp-version: 22.3
+ # https://github.com/elixir-lang/elixir/releases
+ elixir-version: 1.8.0
+ - name: CACHE DEPS
+ if: success() && 'latest' == 'latest'
+ uses: actions/cache@v1
+ with:
+ path: deps
+ key: otp-22.3_git-${{ github.sha }}_deps
+ - name: CACHE DIALYZER PLT
+ if: success() && 'latest' == 'latest'
+ uses: actions/cache@v1
+ with:
+ path: .rabbit.plt
+ key: plt-rabbit-erlang-22.3-g${{ github.sha }}
+ - name: RUN DIALYZER
+ if: success() && 'latest' == 'latest'
+ run: |
+ branch_or_tag_name=${GITHUB_REF#refs/*/}
+ make dialyze \
+ base_rmq_ref=master \
+ current_rmq_ref=$branch_or_tag_name \
+ FULL=
+ # vim:sw=2:et:
eunit:
needs: [checks]
# https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
@@ -8920,6 +8957,7 @@ jobs:
# vim:sw=2:et:
capture-tested-deps-versions:
needs:
+ - dialyzer
- eunit
- ct-amqqueue_backward_compatibility
- ct-backing_queue