Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sereja313 committed Sep 20, 2024
1 parent 4ebd798 commit 76f13d3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@ on:
jobs:
check-nightly:
runs-on: ubuntu-latest
outputs:
resolver: ${{ steps.nightly.outputs.resolver }}
steps:
- uses: actions/checkout@v4

- name: build with nightly
id: nightly
run: |
# get the latest nightly resolver
resolver=$(curl -s -w %{redirect_url} https://www.stackage.org/nightly | sed 's:.*/::')
echo "resolver=$resolver" >> $GITHUB_OUTPUT
stack build --resolver $resolver
stack build --resolver nightly
report-failure:
runs-on: ubuntu-latest
Expand All @@ -30,6 +25,6 @@ jobs:
# you can change 'libraries' to the channel dedicated to the library, if there is one
# in order for a bot to be able to post messages, it must be added to the appropriate channel
SLACK_CHANNEL: "libraries"
MESSAGE: "Repository https://github.com/${{ github.repository }} failed to build with latest nightly resolver (${{ needs.check-nightly.outputs.resolver }})."
MESSAGE: "Repository https://github.com/${{ github.repository }} failed to build with latest nightly resolver."
run: |
./slack-send-message.sh

0 comments on commit 76f13d3

Please sign in to comment.