File tree Expand file tree Collapse file tree 1 file changed +7
-19
lines changed
Expand file tree Collapse file tree 1 file changed +7
-19
lines changed Original file line number Diff line number Diff line change @@ -110,29 +110,17 @@ jobs:
110110
111111 windows :
112112 name : Test on Windows
113- runs-on : windows-latest
113+ runs-on : windows-2022
114114
115115 steps :
116116 - name : Checkout
117117 uses : actions/checkout@v3
118- - name : Restore chocolatey
119- uses : actions/cache@v3
118+ - name : Setup Elixir
119+ uses : erlef/setup-beam@v1
120120 with :
121- path : C:\Users\runneradmin\AppData\Local\Temp\chocolatey
122- key : ${{ runner.os }}-chocolatey-${{ github.sha }}
123- restore-keys : |
124- ${{ runner.os }}-chocolatey-
125- - name : Install Elixir
126- run : |
127- choco install elixir --version=1.14.2 --no-progress
128- set MIX_ENV=test
129- echo "C:\ProgramData\chocolatey\lib\Elixir\bin;C:\ProgramData\chocolatey\bin;C:\ProgramData\chocolatey\lib\Elixir\tools\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
130- - name : Build
131- run : |
132- echo "$PATH"
133- mix local.hex --force
134- mix deps.get
135- mix local.rebar --force
136- mix compile --warnings-as-errors
121+ elixir-version : ' 1.18'
122+ otp-version : ' 27.3'
123+ - name : Get deps
124+ run : mix deps.get
137125 - name : Test
138126 run : mix test || mix test --failed
You can’t perform that action at this time.
0 commit comments