Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Update dependencies #29

Update dependencies

Update dependencies #29

Workflow file for this run

on:
push:
branches:
- main
pull_request:
jobs:
elixir:
name: Elixir
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
version-file: .tool-versions
version-type: strict
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Restore deps and _build cache
uses: actions/cache@v4
with:
path: |
deps
_build
key: deps-elixir-${{ runner.os }}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
deps-elixir-${{ runner.os }}
- name: Run CI script
run: task elixir-check-format
elixir-test:
name: Elixir Test (OTP ${{matrix.otp}} | Elixir ${{matrix.elixir}})
strategy:
matrix:
include:
- elixir: 1.13.4
otp: 24.3
- elixir: 1.15.4
otp: 25.3
- elixir: 1.16.3
otp: 26.2
- elixir: 1.17.2
otp: 27.0
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Restore deps and _build cache
uses: actions/cache@v4
with:
path: |
deps
_build
key: deps-elixir-test-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
deps-elixir-test-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}
- name: Run tests
run: task elixir-test
node:
name: Node
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Restore deps and _build cache
uses: actions/cache@v4
with:
path: |
node_modules
key: deps-node-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
deps-node-${{ runner.os }}-
- name: Run CI script
run: task node-ci