diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c731e57f..13600f18 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -4,10 +4,6 @@ on: push: branches: [main] -env: - OTP_VERSION: "26" - ELIXIR_VERSION: "1.15" - concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -36,8 +32,8 @@ jobs: - name: Setup Elixir uses: erlef/setup-beam@v1 with: - otp-version: ${{ env.OTP_VERSION }} - elixir-version: ${{ env.ELIXIR_VERSION }} + version-file: .tool-versions + version-type: strict - name: Checkout Repository uses: actions/checkout@v4 diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000..0e49cfcd --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +elixir 1.16.2-otp-26 +erlang 26.0.2