Skip to content

Merge pull request #62 from UncleGrumpy/release-0.8.2 #10

Merge pull request #62 from UncleGrumpy/release-0.8.2

Merge pull request #62 from UncleGrumpy/release-0.8.2 #10

Workflow file for this run

#
# Copyright 2025 Peter M <petermm@gmail.com>
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
#
# This is a workflow for atomvm/atomvm_packbeam to check Dialyzer
name: Dialyzer
on:
push:
paths:
- "src/**"
- "rebar.config"
pull_request:
paths:
- "src/**"
- "rebar.config"
jobs:
dialyzer:
runs-on: ubuntu-24.04
container: erlang:${{ matrix.otp }}
strategy:
matrix:
otp: ["25", "26", "27", "28"]
permissions:
contents: read
steps:
- name: "Checkout repo"
uses: actions/checkout@v6
with:
submodules: "recursive"
- name: "Restore PLT cache"
uses: actions/cache@v4
with:
path: _build/default/*_plt*
key: plt-${{ matrix.otp }}-${{ hashFiles('rebar.config') }}
restore-keys: |
plt-${{ matrix.otp }}-
- name: "Run Dialyzer"
run: rebar3 dialyzer