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:
@@ -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-')
|
||||
|
||||
@@ -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`
|
||||
|
||||
@@ -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-'))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user