Skip to content

Commit

Permalink
Rename release.yml to publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverswitzer committed Nov 26, 2024
1 parent a52f3f7 commit 8e20d36
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 32 deletions.
61 changes: 30 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Publish

on:
workflow_dispatch:
Expand Down

0 comments on commit 8e20d36

Please sign in to comment.