Skip to content

Updates

Updates #31

Workflow file for this run

name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
name: OTP ${{matrix.otp}}
strategy:
matrix:
otp: ['26.2', '25.3', '24.3']
rebar3: ['3.22.1']
runs-on: 'ubuntu-22.04'
env:
OTPVER: ${{ matrix.otp }}
steps:
- uses: actions/checkout@v3
uses: erlef/setup-beam@v1

Check failure on line 22 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 22, Col: 9): 'uses' is already defined
with:
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar3}}
- run: rebar3 ct
- run: rebar3 dialyzer
if: ${{ matrix.otp == '26.2' }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.otp == '26.2' }}