mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Merge 4958ca823b into 53f4681bbe
This commit is contained in:
commit
01e2ed532c
38
.github/workflows/elixir.yml
vendored
Normal file
38
.github/workflows/elixir.yml
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
name: Elixir CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
env:
|
||||||
|
MIX_ENV: test
|
||||||
|
ImageOS: ubuntu20
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
name: Build and test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up Elixir
|
||||||
|
uses: erlef/setup-beam@988e02bfe678367a02564f65ca2e37726dc0268f
|
||||||
|
with:
|
||||||
|
elixir-version: '1.14.1'
|
||||||
|
otp-version: '24'
|
||||||
|
- name: Restore dependencies cache
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: deps
|
||||||
|
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
|
||||||
|
restore-keys: ${{ runner.os }}-mix-
|
||||||
|
- name: Install dependencies
|
||||||
|
run: mix deps.get
|
||||||
|
- name: Run tests
|
||||||
|
run: mix test
|
||||||
@ -403,9 +403,9 @@ minimist@^1.2.5:
|
|||||||
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||||
|
|
||||||
nanoid@^3.1.23:
|
nanoid@^3.1.23:
|
||||||
version "3.1.23"
|
version "3.3.4"
|
||||||
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81"
|
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
|
||||||
integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==
|
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
|
||||||
|
|
||||||
nomnom@1.8.1:
|
nomnom@1.8.1:
|
||||||
version "1.8.1"
|
version "1.8.1"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user