Skip to content

Commit

Permalink
Ensure unit tests on CI always run with the latest commit from main o…
Browse files Browse the repository at this point in the history
…f the exercism/elixir git submodule (#211)
  • Loading branch information
jiegillet authored Oct 28, 2021
1 parent c71e3d2 commit 240df4e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/elixir_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,19 @@ jobs:
image: hexpm/elixir:1.12.1-erlang-24.0.1-ubuntu-focal-20210325

steps:
- uses: actions/checkout@v1
- name: Install git
run: |
apt-get update
apt-get install -y git
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: true
submodules: recursive

- name: Update submodules
run: |
git submodule update --recursive --remote
- name: Install Dependencies
run: |
Expand Down
5 changes: 3 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "elixir"]
path = elixir
url = https://github.com/exercism/elixir.git
path = elixir
branch = main
url = https://github.com/exercism/elixir.git

0 comments on commit 240df4e

Please sign in to comment.