Skip to content

Commit

Permalink
Update OTP and uses plugins in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vkatsuba committed Oct 23, 2022
1 parent 5741477 commit 2b0cb1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
apk --no-cache upgrade
apk --no-cache add gcc git libc-dev libc-utils libgcc linux-headers make bash \
musl-dev musl-utils ncurses-dev pcre2 pkgconf scanelf wget zlib
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: work around for permission issue
run: |
git config --global --add safe.directory /__w/prometheus_diameter_collector/prometheus_diameter_collector
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
otp: [22.3.4.16, 23.0.4, 23.1.5.0, 23.2.5.0]
otp: [22, 23, 24, 25]
container:
image: erlang:${{ matrix.otp }}-alpine
steps:
Expand All @@ -24,7 +24,7 @@ jobs:
apk --no-cache upgrade
apk --no-cache add gcc git libc-dev libc-utils libgcc linux-headers make bash \
musl-dev musl-utils ncurses-dev pcre2 pkgconf scanelf wget zlib
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build
run: rebar3 compile
- name: Run tests
Expand All @@ -38,7 +38,7 @@ jobs:
run: DEBUG=1 rebar3 as test coveralls send || /bin/true
- name: Archive Test Output
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: test-output-${{ matrix.otp }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ Number of requests.
[coveralls badge]: https://img.shields.io/coveralls/travelping/prometheus_diameter_collector/master.svg?style=flat-square
[gh]: https://github.com/travelping/prometheus_diameter_collector/actions/workflows/main.yml
[gh badge]: https://img.shields.io/github/workflow/status/travelping/prometheus_diameter_collector/CI?style=flat-square
[erlang version badge]: https://img.shields.io/badge/erlang-22.0%20to%2023.2-blue.svg?style=flat-square
[erlang version badge]: https://img.shields.io/badge/erlang-22.0%20to%2025.1-blue.svg?style=flat-square

0 comments on commit 2b0cb1d

Please sign in to comment.