Compare commits
2 Commits
7ca9eb0b17
...
e2ceb131f3
Author | SHA1 | Date | |
---|---|---|---|
e2ceb131f3 | |||
38cd2589cd |
20
.gitea/workflows/code-format.yaml
Normal file
20
.gitea/workflows/code-format.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Code Format
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
format:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install elixir
|
||||||
|
uses: erlef/setup-beam@v1
|
||||||
|
with:
|
||||||
|
otp-version: '28'
|
||||||
|
elixir-version: '1.18'
|
||||||
|
|
||||||
|
- name: Check format
|
||||||
|
run: mix format --check-formatted
|
||||||
|
|
@@ -3,18 +3,21 @@ on:
|
|||||||
push:
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-project:
|
test:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install elixir
|
- name: Install elixir
|
||||||
uses: erlef/setup-beam@v1
|
uses: erlef/setup-beam@v1
|
||||||
with:
|
with:
|
||||||
otp-version: '28'
|
otp-version: '28'
|
||||||
elixir-version: '1.18'
|
elixir-version: '1.18'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: mix deps.get
|
run: mix deps.get
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: mix test
|
run: mix test
|
||||||
|
|
||||||
|
6
CHANGELOG.md
Normal file
6
CHANGELOG.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
Reference in New Issue
Block a user