Skip to content

Commit

Permalink
Use alr 2.0.1 in checks (alire-project#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo authored and pmunts committed May 11, 2024
1 parent aa44a49 commit 42a93cc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-distros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Build Crate (Distro toolchain)
env:
CHECKS_ORG: alire-project
CHECKS_REPO: alire-index-checks
ALR_VERSION: 2.0.0
ALR_VERSION: 2.0.1

on:
pull_request:
Expand Down Expand Up @@ -50,14 +50,14 @@ jobs:

- name: Set up stable `alr`
if: contains(github.base_ref, 'stable-')
uses: alire-project/setup-alire@v2
uses: alire-project/setup-alire@v3
with:
toolchain: --disable-assistant # We want to use the external ones in this workflow
version: ${{env.ALR_VERSION}}

- name: Set up devel `alr`
if: contains(github.base_ref, 'devel-')
uses: alire-project/setup-alire@v2
uses: alire-project/setup-alire@v3
with:
toolchain: --disable-assistant # We want to use the external ones in this workflow
branch: master
Expand All @@ -67,4 +67,4 @@ jobs:
with:
image: ghcr.io/alire-project/docker/gnat:${{matrix.tag}}
command: ${{env.CHECKS_REPO}}/scripts/gh-build-crate.sh
params: -v ${{ github.workspace }}/alire_install/bin/alr:/usr/bin/alr
params: -v ${{ github.workspace }}/alire_install/bin/alr:/usr/bin/alr
2 changes: 1 addition & 1 deletion .github/workflows/build-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Build Crate (Alire toolchain)
env:
CHECKS_ORG: alire-project
CHECKS_REPO: alire-index-checks
ALR_VERSION: 2.0.0
ALR_VERSION: 2.0.1
PACMAN: C:\Users\runneradmin\AppData\Local\alire\cache\msys64\usr\bin\pacman

on:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-index.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Check Index

env:
ALR_VERSION: 2.0.0
ALR_VERSION: 2.0.1

on: pull_request

Expand All @@ -13,13 +13,13 @@ jobs:

- name: Set up stable `alr`
if: contains(github.base_ref, 'stable-')
uses: alire-project/setup-alire@v2
uses: alire-project/setup-alire@v3
with:
version: ${{env.ALR_VERSION}}

- name: Set up devel `alr`
if: contains(github.base_ref, 'devel-')
uses: alire-project/setup-alire@v2
uses: alire-project/setup-alire@v3
with:
branch: master

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/diff-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Diff release
env:
CHECKS_ORG: alire-project
CHECKS_REPO: alire-index-checks
ALR_VERSION: 2.0.0
ALR_VERSION: 2.0.1

on:
pull_request:
Expand Down Expand Up @@ -39,14 +39,14 @@ jobs:

- name: Set up stable `alr`
if: contains(github.base_ref, 'stable-')
uses: alire-project/setup-alire@v2
uses: alire-project/setup-alire@v3
with:
toolchain: --disable-assistant # We don't need the compiler
version: ${{env.ALR_VERSION}}

- name: Set up devel `alr`
if: contains(github.base_ref, 'devel-')
uses: alire-project/setup-alire@v2
uses: alire-project/setup-alire@v3
with:
toolchain: --disable-assistant # We don't need the compiler
branch: master
Expand Down
3 changes: 3 additions & 0 deletions index/li/libhello/libhello-1.0.1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ maintainers-logins = ["mosteo"]
commit = "3c15bc7f3df22298077c9e96f178adc2829feb42"
url = "git+https://github.com/alire-project/libhello.git"

# We use this crate as a trigger to conveniently test minor changes to
# metaprocesses of the CI of the repository itself.
# Last touch: 2024-03-21 14:29:00 CET

0 comments on commit 42a93cc

Please sign in to comment.