Skip to content

Fix: scrollbar placement in Node Inspector (#985) #2761

Fix: scrollbar placement in Node Inspector (#985)

Fix: scrollbar placement in Node Inspector (#985) #2761

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Elixir CI
on:
push:
branches:
- main
- "v*.*"
pull_request:
branches:
- main
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build and test (Elixir ${{ matrix.elixir-version }})
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- elixir-version: "1.19.1"
otp-version: "28.1.1"
backward-compatibility: false
- elixir-version: "1.16.0"
otp-version: "26.0.2"
backward-compatibility: true
steps:
- uses: actions/checkout@v4
- name: Install inotify-tools
run: sudo apt-get update && sudo apt-get install -y inotify-tools
- name: Set up Elixir
uses: erlef/setup-beam@v1.20.4
with:
elixir-version: ${{ matrix.elixir-version }}
otp-version: ${{ matrix.otp-version }}
- name: Copy mix.lock for backward compatibility
if: ${{ matrix.backward-compatibility }}
run: cp ./.github/workflows/assets/mix.lock mix.lock
- name: Cache Mix
uses: actions/cache@v4
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ matrix.elixir-version }}-${{ matrix.otp-version }}-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-${{ matrix.elixir-version }}-${{ matrix.otp-version }}-
- name: Install Dependencies
run: mix deps.get
- name: Check prettier
working-directory: ./assets
run: npx prettier . --check
- name: Check formatting
run: mix format --check-formatted
- name: Check credo
run: mix credo
- name: Compile project
run: mix compile --warnings-as-errors
- name: Run unit tests
run: mix test