Skip to content

chore(deps-dev): bump js-yaml from 4.1.1 to 4.3.0 in /tools/scalar_tuner in the npm_and_yarn group across 1 directory #38

chore(deps-dev): bump js-yaml from 4.1.1 to 4.3.0 in /tools/scalar_tuner in the npm_and_yarn group across 1 directory

chore(deps-dev): bump js-yaml from 4.1.1 to 4.3.0 in /tools/scalar_tuner in the npm_and_yarn group across 1 directory #38

Workflow file for this run

name: Elixir Lint
on:
pull_request:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pull-requests: read
concurrency:
group: elixir-lint-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
changes:
name: Detect changes
runs-on: ubuntu-latest
outputs:
elixir: ${{ steps.filter.outputs.elixir }}
steps:
- uses: actions/checkout@v6
- uses: dorny/paths-filter@v4
id: filter
with:
filters: |
elixir:
- 'lib/**'
- 'test/**'
- 'mix.exs'
- 'mix.lock'
- '.credo.exs'
- '.dialyzer_ignore.exs'
- 'devenv.nix'
- 'devenv.lock'
- 'devenv.yaml'
- '.github/actions/setup-elixir/**'
lint:
name: Lint
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.elixir == 'true'
env:
MIX_ENV: dev
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Elixir with shared cache
uses: ./.github/actions/setup-elixir
with:
mix-env: dev
- name: Compile with warnings as errors
run: mix compile --warnings-as-errors
- name: Check formatting
run: mix format --check-formatted
- name: Credo
run: mix credo --strict