Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jdav-dev committed Aug 29, 2024
2 parents 1887ca6 + 314fedb commit 92845a2
Show file tree
Hide file tree
Showing 64 changed files with 1,772 additions and 481 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* linguist-vendored
*.ex linguist-vendored=false
*.exs linguist-vendored=false

5 changes: 3 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: aesmail
patreon: # Replace with a single Patreon username
open_collective: kaffy
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
52 changes: 52 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Kaffy CI (Elixir)

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
name: Test ${{matrix.otp}} / Elixir ${{matrix.elixir}}
runs-on: ubuntu-20.04
strategy:
matrix:
otp: ['22', '23', '24', '25']
elixir: ['1.12.3', '1.13.4', '1.14.5', '1.15.5']
# Exclude invalid combinations of Elixir and OTP
exclude:
- otp: '22'
elixir: '1.14.5'
- otp: '22'
elixir: '1.15.5'
- otp: '23'
elixir: '1.15.5'
- otp: '25'
elixir: '1.12.3'
- otp: '25'
elixir: '1.13.4'
# Include the release candidate for the next Elixir, but don't
# fail CI.
# include:
# - elixir: '1.13'
# otp: '24'
# experimental: true

steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{matrix.elixir}} # Define the elixir version [required]
otp-version: ${{matrix.otp}} # Define the OTP version [required]
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ erl_crash.dump
# Ignore package tarball (built via "mix hex.build").
kaffy-*.tar

# Ignore local node_modules
# Temporary files, for example, from tests.
/tmp/

# Ignore local node_modules.
/node_modules/

.elixir_ls
# Misc.
.DS_Store
.tool-versions
Loading

0 comments on commit 92845a2

Please sign in to comment.