From 49133ff08e866da42334c22b7357afaa91534967 Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:22:26 -1000 Subject: [PATCH 1/9] Install inotify in CI --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5339255..bb23de2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,8 @@ jobs: _build deps key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} + - name: Install inotify + run: sudo apt-get install inotify-tools - name: Install Dependencies run: | mix local.rebar --force From 55e7b4ea0350374248f3888c945c732bbeb033cb Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:27:50 -1000 Subject: [PATCH 2/9] Check another version in CI --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb23de2..ff1afdb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,9 +23,13 @@ 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 with: otp-version: ${{matrix.otp}} From b3882c77b58cb7cab99389d87c6f67cde9fa7af9 Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:33:27 -1000 Subject: [PATCH 3/9] Update github cache action version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff1afdb..4df1065 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: otp-version: ${{matrix.otp}} elixir-version: ${{matrix.elixir}} - name: Cache build artifacts - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.hex From c6b6eb73607bb69860e635059d44ffbeb62b78ab Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:35:26 -1000 Subject: [PATCH 4/9] Separate cache version for elixir/erlang combo --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4df1065..cfa70d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: ~/.mix _build deps - key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} + key: ${{ runner.os }}-otp-${{ matrix.otp}}-elixir-${{ maxtrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }} - name: Install inotify run: sudo apt-get install inotify-tools - name: Install Dependencies From 3c1eddb011cb3b7a3635fb9c6c93da1b2cf4ca17 Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:37:41 -1000 Subject: [PATCH 5/9] fix workflow? --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfa70d4..2cb700f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: ~/.mix _build deps - key: ${{ runner.os }}-otp-${{ matrix.otp}}-elixir-${{ maxtrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }} + key: ${{ runner.os }}-otp-${{ steps.beam.outputs.otp-version }}-elixir-${{ steps.beam.outputs.elixir-version }}-mix-${{ hashFiles('**/mix.lock') }} - name: Install inotify run: sudo apt-get install inotify-tools - name: Install Dependencies From e7a4729b847aade250dcb18fbdae2f69e9f41c44 Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:42:57 -1000 Subject: [PATCH 6/9] actually get output? --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cb700f..73a6a99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: ~/.mix _build deps - key: ${{ runner.os }}-otp-${{ steps.beam.outputs.otp-version }}-elixir-${{ steps.beam.outputs.elixir-version }}-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 install inotify-tools - name: Install Dependencies From 01c505cd8f7ae06a8e327862ebd3a4d829aa9d6a Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:44:19 -1000 Subject: [PATCH 7/9] set id --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73a6a99..6552d09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ jobs: with: show-progress: false - uses: erlef/setup-beam@v1 + id: setup-beam with: otp-version: ${{matrix.otp}} elixir-version: ${{matrix.elixir}} From 6126c6599418f28f9d356d2867287dfc98e1be1c Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:46:13 -1000 Subject: [PATCH 8/9] Install quieter --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6552d09..5a7e09f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: deps 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 install inotify-tools + run: sudo apt-get install -qq inotify-tools - name: Install Dependencies run: | mix local.rebar --force From 7b6549d2231f92c5269dbdd52697be3df76e1ca7 Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 5 May 2024 08:47:50 -1000 Subject: [PATCH 9/9] qq before? --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a7e09f..0473d80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: deps 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 install -qq inotify-tools + run: sudo apt-get -qq install inotify-tools - name: Install Dependencies run: | mix local.rebar --force