Force alr version to 1.2.1

This way we can test that version without making it default in setup-alire
action.
This commit is contained in:
GHA
2022-08-26 15:08:38 +02:00
parent 19b9c9f156
commit 25e277e47d
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -93,6 +93,7 @@ jobs:
uses: alire-project/setup-alire@v1
with:
toolchain: --disable-assistant # We want to use the external ones in this workflow
version: 1.2.1
- name: Set up devel `alr`
if: contains(github.base_ref, 'devel-')
+2
View File
@@ -63,6 +63,8 @@ jobs:
- name: Set up stable `alr`
if: contains(github.base_ref, 'stable-')
uses: alire-project/setup-alire@v1
with:
version: 1.2.1
# By default, this sets up the newest indexed native toolchain
- name: Set up devel `alr`
+1
View File
@@ -41,6 +41,7 @@ jobs:
uses: alire-project/setup-alire@v1
with:
toolchain: --disable-assistant # We don't need the compiler
version: 1.2.1
- name: Set up GNAT toolchain (FSF)
if: (matrix.os == 'ubuntu-latest') && (contains(github.base_ref, 'devel-'))
+4 -2
View File
@@ -2,7 +2,7 @@ name: Check PR
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
@@ -13,6 +13,8 @@ jobs:
- name: Set up stable `alr`
if: contains(github.base_ref, 'stable-')
uses: alire-project/setup-alire@v1
with:
version: 1.2.1
- name: Set up GNAT for devel `alr`
if: contains(github.base_ref, 'devel-')
@@ -33,6 +35,6 @@ jobs:
# Check index contents for unknown config variables
- run: alr index --check
- run: alr index --update-all
- run: alr index --update-all
- run: alr search --crates