From c8eea2f1a5c51c0eeab61692238f7e5ebabcd101 Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:49:19 -1000 Subject: [PATCH] CI updates (#61) * Install inotify in CI * Check another version in CI * Update github cache action version * Separate cache version for elixir/erlang combo * fix workflow? * actually get output? * set id * Install quieter * qq before? --- .github/workflows/ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5339255..0473d80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,22 +23,29 @@ jobs: include: - elixir: 1.13.1 otp: 24.2 + - elixir: 1.16.2 + otp: 26.2.5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - uses: erlef/setup-beam@v1 + id: setup-beam with: otp-version: ${{matrix.otp}} elixir-version: ${{matrix.elixir}} - name: Cache build artifacts - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.hex ~/.mix _build deps - key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} + key: ${{ runner.os }}-otp-${{ steps.setup-beam.outputs.otp-version }}-elixir-${{ steps.setup-beam.outputs.elixir-version }}-mix-${{ hashFiles('**/mix.lock') }} + - name: Install inotify + run: sudo apt-get -qq install inotify-tools - name: Install Dependencies run: | mix local.rebar --force