From 57ff5fa646d07d9018b35a0a3b7be46e03313e84 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Tue, 3 Sep 2024 00:05:37 +0800 Subject: [PATCH] CI housekeeping List of changes: - add CI badge to README - add OTP 27 to supported OTP - bump GitHub actions - set dialyzer on OTP 27 --- .github/workflows/test.yml | 8 ++++---- README.md | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e872d76..c903724 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,17 +14,17 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - otp_version: [24, 25, 26] + otp_version: [24, 25, 26, 27] os: [ubuntu-latest] env: OTP_VERSION: ${{ matrix.otp_version }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: ${{ matrix.otp_version }} rebar3-version: 3.22.0 - - uses: actions/cache@v2 + - uses: actions/cache@v4 name: Cache with: path: | @@ -42,4 +42,4 @@ jobs: run: rebar3 xref - name: Dialyzer run: rebar3 dialyzer - if: ${{ matrix.otp_version == 26 }} + if: ${{ matrix.otp_version == 27 }} diff --git a/README.md b/README.md index 5ff094e..6d699a7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # telemetry_poller +[![Test](https://github.com/kianmeng/telemetry_poller/actions/workflows/test.yml/badge.svg)](https://github.com/kianmeng/telemetry_poller/actions/workflows/test.yml) [![Codecov](https://codecov.io/gh/beam-telemetry/telemetry_poller/branch/master/graphs/badge.svg)](https://codecov.io/gh/beam-telemetry/telemetry_poller/branch/master/graphs/badge.svg) Allows to periodically collect measurements and dispatch them as Telemetry events.