Skip to content

Commit c989d97

Browse files
committed
Workflow and .tool-version updates
1 parent de0076d commit c989d97

File tree

3 files changed

+25
-32
lines changed

3 files changed

+25
-32
lines changed

.github/workflows/on-push.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
11
name: on-push
2-
on: [push]
2+
on: [push, pull_request]
33
env:
44
MIX_ENV: test
5+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
6+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
57
jobs:
68
build:
79
runs-on: ubuntu-20.04
810
strategy:
911
matrix:
10-
otp: ['23.3.4.11']
11-
elixir: ['1.10.4', '1.13.2']
12+
otp: ["23.3.4.6"]
13+
elixir: ["1.10.4", "1.11.4", "1.12.3", "1.13.4", "1.14.2"]
1214
steps:
1315
- uses: actions/checkout@v2
14-
- uses: erlef/setup-elixir@v1
16+
- uses: erlef/setup-beam@v1
1517
with:
1618
otp-version: ${{matrix.otp}}
1719
elixir-version: ${{matrix.elixir}}
1820
version-type: strict
1921
- uses: rrainn/[email protected]
22+
with:
23+
port: 8000
24+
cors: "*"
2025
- run: mix deps.get
2126
- run: mix compile
22-
- run: mix format --check-formatted && mix dialyzer
23-
if: matrix.elixir == '1.13.2'
27+
- run: mix format --check-formatted
28+
if: matrix.elixir == '1.14.2' # Only check formatting with the latest verison
29+
- run: mix dialyzer
30+
if: matrix.elixir == '1.14.2'
2431
- run: mix test

.gitignore

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
1-
# The directory Mix will write compiled artifacts to.
2-
/_build/
1+
# Top level
2+
deps
3+
log
34

4-
# If you run "mix test --cover", coverage assets end up here.
5-
/cover/
5+
# vim gitignore files
6+
*~
7+
*.swp
8+
*.swo
69

7-
# The directory Mix downloads your dependencies sources to.
8-
/deps/
10+
*.d
11+
_build
912

10-
# Where third-party dependencies like ExDoc output generated docs.
11-
/doc/
12-
13-
# Ignore .fetch files in case you like to edit your project deps locally.
14-
/.fetch
15-
16-
# If the VM crashes, it generates a dump, let's ignore it too.
17-
erl_crash.dump
18-
19-
# Also ignore archive artifacts (built via "mix archive.build").
20-
*.ez
21-
22-
# Ignore package tarball (built via "mix hex.build").
23-
ex_aws_dynamo-*.tar
24-
25-
# Temporary files for e.g. tests.
26-
/tmp/
27-
28-
# Misc.
29-
/config/ddb_local_test.exs
13+
# DS_Store
14+
*.DS_Store

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
elixir 1.14.2

0 commit comments

Comments
 (0)