Skip to content

Commit

Permalink
Update to alr 2.0 instead of nightly (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo authored Mar 13, 2024
1 parent 67bc821 commit 590c6f7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Source branch
on: [pull_request]
env:
TARGET_HEAD: v1-next

jobs:
check_pr:
runs-on: ubuntu-latest
steps:
- name: Check on proper branch
if: github.head_ref != 'v1-next'
if: github.head_ref != env.TARGET_HEAD
uses: actions/github-script@v3
with:
script: |
core.setFailed(`PRs for latest-stable must come from v1-next, but branch is ${{ github.head_ref }}`)
core.setFailed(`PRs for latest-stable must come from ${{ env.TARGET_HEAD }}, but branch is ${{ github.head_ref }}`)
4 changes: 2 additions & 2 deletions .github/workflows/selftest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:

runs-on: ${{ matrix.os }}

steps:
steps:
- uses: alire-project/alr-install@v1-next
with:
crates: gprbuild
# This can be changed to a more lightweight crate (hello)
# This can be changed to a more lightweight crate (hello)
# once we can install indexed releases.
cache: false # Don't use cache for testing

Expand Down
4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ runs:
- name: Set up alr
if: steps.find-alr.outputs.available != 'true'
uses: alire-project/setup-alire@v2
uses: alire-project/setup-alire@v3
with:
cache: ${{inputs.cache}}
version: nightly
toolchain: --disable-assistant

- name: Prepare --force
id: force
Expand Down

0 comments on commit 590c6f7

Please sign in to comment.