88 secrets :
99 HEX_API_KEY :
1010 required : false
11+ OBAN_PRO_LICENSE_KEY :
12+ required : false
1113 inputs :
14+ oban-pro :
15+ type : boolean
16+ default : false
1217 release :
1318 type : boolean
1419 default : true
@@ -139,6 +144,18 @@ jobs:
139144 else
140145 echo "erlang ${{ inputs.erlang-version }}" > .tool-versions
141146 fi
147+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
148+ if : ${{ inputs.oban-pro }}
149+ - name : Configure Oban Pro hex repo
150+ if : ${{ inputs.oban-pro }}
151+ run : |
152+ mix local.hex --if-missing --force
153+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
154+ shell : bash
155+ env :
156+ HEX_HOME : ${{ runner.temp }}/.hex
157+ MIX_HOME : ${{ runner.temp }}/.mix
158+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
142159 - uses : team-alembic/staple-actions/actions/mix-hex-audit@59199173e18eee6748b65d01626ef82d51c6e963 # main
143160 - uses : team-alembic/staple-actions/actions/mix-task@59199173e18eee6748b65d01626ef82d51c6e963 # main
144161 with :
@@ -270,6 +287,16 @@ jobs:
270287 echo "erlang ${{ inputs.erlang-version }}" > .tool-versions
271288 fi
272289 - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
290+ - name : Configure Oban Pro hex repo
291+ if : ${{ inputs.oban-pro }}
292+ run : |
293+ mix local.hex --if-missing --force
294+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
295+ shell : bash
296+ env :
297+ HEX_HOME : ${{ runner.temp }}/.hex
298+ MIX_HOME : ${{ runner.temp }}/.mix
299+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
273300 - name : Set OS deps compile partition count
274301 run : echo "MIX_OS_DEPS_COMPILE_PARTITION_COUNT=$(($(lscpu -p | grep -v '^#' | sort -u -t, -k 2,4 | wc -l) / 2))" >> $GITHUB_ENV
275302 - uses : team-alembic/staple-actions/actions/mix-compile@04f27881d51ef973841fc40c549aefb7b52db7f7 # main
@@ -285,6 +312,18 @@ jobs:
285312 - spark-cheat-sheets
286313 steps :
287314 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
315+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
316+ if : ${{ inputs.oban-pro }}
317+ - name : Configure Oban Pro hex repo
318+ if : ${{ inputs.oban-pro }}
319+ run : |
320+ mix local.hex --if-missing --force
321+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
322+ shell : bash
323+ env :
324+ HEX_HOME : ${{ runner.temp }}/.hex
325+ MIX_HOME : ${{ runner.temp }}/.mix
326+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
288327 - uses : team-alembic/staple-actions/actions/mix-docs@59199173e18eee6748b65d01626ef82d51c6e963 # main
289328 with :
290329 mix-env : dev
@@ -316,6 +355,18 @@ jobs:
316355 if : ${{inputs.conventional-commit}}
317356 steps :
318357 - uses : actions/checkout@v6.0.2
358+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
359+ if : ${{ inputs.oban-pro }}
360+ - name : Configure Oban Pro hex repo
361+ if : ${{ inputs.oban-pro }}
362+ run : |
363+ mix local.hex --if-missing --force
364+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
365+ shell : bash
366+ env :
367+ HEX_HOME : ${{ runner.temp }}/.hex
368+ MIX_HOME : ${{ runner.temp }}/.mix
369+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
319370 - uses : team-alembic/staple-actions/actions/conventional-commit@main
320371 with :
321372 mix-env : test
@@ -327,6 +378,18 @@ jobs:
327378 - build-test
328379 steps :
329380 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
381+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
382+ if : ${{ inputs.oban-pro }}
383+ - name : Configure Oban Pro hex repo
384+ if : ${{ inputs.oban-pro }}
385+ run : |
386+ mix local.hex --if-missing --force
387+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
388+ shell : bash
389+ env :
390+ HEX_HOME : ${{ runner.temp }}/.hex
391+ MIX_HOME : ${{ runner.temp }}/.mix
392+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
330393 - uses : team-alembic/staple-actions/actions/mix-format@59199173e18eee6748b65d01626ef82d51c6e963 # main
331394 with :
332395 mix-env : test
@@ -338,6 +401,18 @@ jobs:
338401 - build-test
339402 steps :
340403 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
404+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
405+ if : ${{ inputs.oban-pro }}
406+ - name : Configure Oban Pro hex repo
407+ if : ${{ inputs.oban-pro }}
408+ run : |
409+ mix local.hex --if-missing --force
410+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
411+ shell : bash
412+ env :
413+ HEX_HOME : ${{ runner.temp }}/.hex
414+ MIX_HOME : ${{ runner.temp }}/.mix
415+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
341416 - uses : team-alembic/staple-actions/actions/mix-task@59199173e18eee6748b65d01626ef82d51c6e963 # main
342417 if : ${{inputs.spark-formatter}}
343418 with :
@@ -351,6 +426,18 @@ jobs:
351426 - build-test
352427 steps :
353428 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
429+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
430+ if : ${{ inputs.oban-pro }}
431+ - name : Configure Oban Pro hex repo
432+ if : ${{ inputs.oban-pro }}
433+ run : |
434+ mix local.hex --if-missing --force
435+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
436+ shell : bash
437+ env :
438+ HEX_HOME : ${{ runner.temp }}/.hex
439+ MIX_HOME : ${{ runner.temp }}/.mix
440+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
354441 - uses : team-alembic/staple-actions/actions/mix-task@59199173e18eee6748b65d01626ef82d51c6e963 # main
355442 if : ${{inputs.spark-cheat-sheets}}
356443 with :
@@ -363,6 +450,18 @@ jobs:
363450 - build-test
364451 steps :
365452 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
453+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
454+ if : ${{ inputs.oban-pro }}
455+ - name : Configure Oban Pro hex repo
456+ if : ${{ inputs.oban-pro }}
457+ run : |
458+ mix local.hex --if-missing --force
459+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
460+ shell : bash
461+ env :
462+ HEX_HOME : ${{ runner.temp }}/.hex
463+ MIX_HOME : ${{ runner.temp }}/.mix
464+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
366465 - uses : team-alembic/staple-actions/actions/mix-task@59199173e18eee6748b65d01626ef82d51c6e963 # main
367466 if : ${{inputs.sobelow}}
368467 with :
@@ -375,6 +474,18 @@ jobs:
375474 if : ${{inputs.doctor}}
376475 steps :
377476 - uses : actions/checkout@v6.0.2
477+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
478+ if : ${{ inputs.oban-pro }}
479+ - name : Configure Oban Pro hex repo
480+ if : ${{ inputs.oban-pro }}
481+ run : |
482+ mix local.hex --if-missing --force
483+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
484+ shell : bash
485+ env :
486+ HEX_HOME : ${{ runner.temp }}/.hex
487+ MIX_HOME : ${{ runner.temp }}/.mix
488+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
378489 - uses : team-alembic/staple-actions/actions/mix-doctor@main
379490 with :
380491 mix-env : test
@@ -386,6 +497,18 @@ jobs:
386497 security-events : write
387498 steps :
388499 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
500+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
501+ if : ${{ inputs.oban-pro }}
502+ - name : Configure Oban Pro hex repo
503+ if : ${{ inputs.oban-pro }}
504+ run : |
505+ mix local.hex --if-missing --force
506+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
507+ shell : bash
508+ env :
509+ HEX_HOME : ${{ runner.temp }}/.hex
510+ MIX_HOME : ${{ runner.temp }}/.mix
511+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
389512 - uses : team-alembic/staple-actions/actions/mix-credo@59199173e18eee6748b65d01626ef82d51c6e963 # main
390513 with :
391514 mix-env : test
@@ -406,6 +529,18 @@ jobs:
406529 if : ${{inputs.codegen}}
407530 steps :
408531 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
532+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
533+ if : ${{ inputs.oban-pro }}
534+ - name : Configure Oban Pro hex repo
535+ if : ${{ inputs.oban-pro }}
536+ run : |
537+ mix local.hex --if-missing --force
538+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
539+ shell : bash
540+ env :
541+ HEX_HOME : ${{ runner.temp }}/.hex
542+ MIX_HOME : ${{ runner.temp }}/.mix
543+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
409544 - uses : team-alembic/staple-actions/actions/mix-task@59199173e18eee6748b65d01626ef82d51c6e963 # main
410545 with :
411546 mix-env : test
@@ -417,6 +552,18 @@ jobs:
417552 - build-test
418553 steps :
419554 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
555+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
556+ if : ${{ inputs.oban-pro }}
557+ - name : Configure Oban Pro hex repo
558+ if : ${{ inputs.oban-pro }}
559+ run : |
560+ mix local.hex --if-missing --force
561+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
562+ shell : bash
563+ env :
564+ HEX_HOME : ${{ runner.temp }}/.hex
565+ MIX_HOME : ${{ runner.temp }}/.mix
566+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
420567 - uses : team-alembic/staple-actions/actions/mix-task@59199173e18eee6748b65d01626ef82d51c6e963 # main
421568 with :
422569 mix-env : test
@@ -439,6 +586,18 @@ jobs:
439586 fetch-depth : 0
440587 ref : ${{ github.head_ref }}
441588 if : github.event.pull_request.user.login == 'dependabot[bot]'
589+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
590+ if : ${{ inputs.oban-pro && github.event.pull_request.user.login == 'dependabot[bot]' }}
591+ - name : Configure Oban Pro hex repo
592+ if : ${{ inputs.oban-pro && github.event.pull_request.user.login == 'dependabot[bot]' }}
593+ run : |
594+ mix local.hex --if-missing --force
595+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
596+ shell : bash
597+ env :
598+ HEX_HOME : ${{ runner.temp }}/.hex
599+ MIX_HOME : ${{ runner.temp }}/.mix
600+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
442601 - uses : team-alembic/staple-actions/actions/mix-task@59199173e18eee6748b65d01626ef82d51c6e963 # main
443602 with :
444603 task : igniter.upgrade --git-ci --yes
@@ -477,6 +636,18 @@ jobs:
477636 - 3306:3306
478637 steps :
479638 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
639+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
640+ if : ${{ inputs.oban-pro }}
641+ - name : Configure Oban Pro hex repo
642+ if : ${{ inputs.oban-pro }}
643+ run : |
644+ mix local.hex --if-missing --force
645+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
646+ shell : bash
647+ env :
648+ HEX_HOME : ${{ runner.temp }}/.hex
649+ MIX_HOME : ${{ runner.temp }}/.mix
650+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
480651 - uses : team-alembic/staple-actions/actions/mix-task@59199173e18eee6748b65d01626ef82d51c6e963 # main
481652 if : ${{inputs.postgres && inputs.ash_postgres}}
482653 with :
@@ -568,6 +739,18 @@ jobs:
568739 - build-test
569740 steps :
570741 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
742+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
743+ if : ${{ inputs.oban-pro }}
744+ - name : Configure Oban Pro hex repo
745+ if : ${{ inputs.oban-pro }}
746+ run : |
747+ mix local.hex --if-missing --force
748+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
749+ shell : bash
750+ env :
751+ HEX_HOME : ${{ runner.temp }}/.hex
752+ MIX_HOME : ${{ runner.temp }}/.mix
753+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
571754 - uses : team-alembic/staple-actions/actions/mix-dialyzer@59199173e18eee6748b65d01626ef82d51c6e963 # main
572755 with :
573756 mix-env : dev
@@ -588,6 +771,18 @@ jobs:
588771 - build-test
589772 steps :
590773 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
774+ - uses : team-alembic/staple-actions/actions/install-elixir@59199173e18eee6748b65d01626ef82d51c6e963 # main
775+ if : ${{ inputs.oban-pro }}
776+ - name : Configure Oban Pro hex repo
777+ if : ${{ inputs.oban-pro }}
778+ run : |
779+ mix local.hex --if-missing --force
780+ mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key $OBAN_PRO_LICENSE_KEY
781+ shell : bash
782+ env :
783+ HEX_HOME : ${{ runner.temp }}/.hex
784+ MIX_HOME : ${{ runner.temp }}/.mix
785+ OBAN_PRO_LICENSE_KEY : ${{ secrets.OBAN_PRO_LICENSE_KEY }}
591786 - uses : team-alembic/staple-actions/actions/mix-compile@59199173e18eee6748b65d01626ef82d51c6e963 # main
592787 with :
593788 mix-env : dev
0 commit comments