From 8e20d36a34b00bd86151299b219fc509f7d3af19 Mon Sep 17 00:00:00 2001 From: Oliver Switzer Date: Tue, 26 Nov 2024 15:12:57 -0500 Subject: [PATCH] Rename release.yml to publish.yml --- .github/workflows/ci.yml | 61 +++++++++---------- .../workflows/{release.yml => publish.yml} | 2 +- 2 files changed, 31 insertions(+), 32 deletions(-) rename .github/workflows/{release.yml => publish.yml} (98%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b879e1f..dd42d9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,36 +10,35 @@ jobs: test: name: Build and test runs-on: ubuntu-latest - + steps: - - uses: actions/checkout@v3 - - - name: Set up Elixir - uses: erlef/setup-beam@v1 - with: - elixir-version: "1.16.2" - otp-version: "26.2.5" - - - name: Cache deps - uses: actions/cache@v3 - with: - path: deps - key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} - restore-keys: ${{ runner.os }}-mix- - - - name: Cache build - uses: actions/cache@v3 - with: - path: _build - key: ${{ runner.os }}-build-${{ hashFiles('**/mix.lock') }} - restore-keys: ${{ runner.os }}-build- - - - name: Install dependencies - run: mix deps.get - - name: Static analysis - run: mix credo --strict - - name: Run tests - run: mix test - - name: Check formatting - run: mix format --check-formatted + - uses: actions/checkout@v3 + + - name: Set up Elixir + uses: erlef/setup-beam@v1 + with: + elixir-version: "1.16.2" + otp-version: "26.2.5" + + - name: Cache deps + uses: actions/cache@v3 + with: + path: deps + key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} + restore-keys: ${{ runner.os }}-mix- + + - name: Cache build + uses: actions/cache@v3 + with: + path: _build + key: ${{ runner.os }}-build-${{ hashFiles('**/mix.lock') }} + restore-keys: ${{ runner.os }}-build- + - name: Install dependencies + run: mix deps.get + - name: Static analysis + run: mix credo --strict + - name: Run tests + run: mix test + - name: Check formatting + run: mix format --check-formatted diff --git a/.github/workflows/release.yml b/.github/workflows/publish.yml similarity index 98% rename from .github/workflows/release.yml rename to .github/workflows/publish.yml index 81e7233..2c07fdd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Release +name: Publish on: workflow_dispatch: