Skip to content

Commit

Permalink
Update nightly version to be the same as MobileCoin repo
Browse files Browse the repository at this point in the history
remove the notify from discord
  • Loading branch information
nick-mobilecoin committed Oct 19, 2023
1 parent 210aeb0 commit 744315d
Showing 1 changed file with 5 additions and 32 deletions.
37 changes: 5 additions & 32 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
rust:
- stable
- beta
- nightly-2022-12-13
- nightly-2023-10-01
steps:
- uses: actions/checkout@v4
- uses: mobilecoinfoundation/actions/sgxsdk@main
Expand All @@ -117,7 +117,7 @@ jobs:
rust:
- stable
- beta
- nightly-2022-12-13
- nightly-2023-10-01
steps:
- uses: actions/checkout@v4
- uses: mobilecoinfoundation/actions/sgxsdk@main
Expand All @@ -141,7 +141,7 @@ jobs:
rust:
- stable
- beta
- nightly-2022-12-13
- nightly-2023-10-01
steps:
- uses: actions/checkout@v4
- uses: mobilecoinfoundation/actions/sgxsdk@main
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2022-12-13
toolchain: nightly-2023-10-01
targets: ${{ matrix.target }},x86_64-unknown-linux-gnu
components: rust-src
- uses: r7kamura/rust-problem-matchers@v1
Expand All @@ -235,31 +235,4 @@ jobs:
cargo metadata --no-deps --format-version=1 | \
jq -r '.packages[].name' | \
grep -e types | \
xargs -n1 sh -c 'cargo +nightly-2022-12-13 build -Z build-std=core --target ${{ matrix.target }} -p $0 --locked || exit 255'
notify:
runs-on: ubuntu-latest
if: failure() && ${{ github.event_name }} == 'push'
needs:
- "lint"
- "deny"
- "sort"
- "clippy"
- "build"
- "build-no-alloc"
- "test"
- "doc"
- "coverage"
steps:
- name: Notify Discord on failure
uses: sarisia/actions-status-discord@v1
with:
username: "Github Actions"
status: Failure
nodetail: true
title: "Workflow: ${{ github.workflow }}"
url: ${{ github.repository_url }}/actions/runs/${{ github.run_id }}
description: |
[@${{ github.pusher }}](${{ github.url }}/${{ github.pusher }}] was the last one to touch ${{ github.repository }}, is all I'm saying...
avatar_url: "https://media0.giphy.com/media/oe33xf3B50fsc/200.gif"
webhook: ${{ secrets.DISCORD_WEBHOOK }}
xargs -n1 sh -c 'cargo +nightly-2023-10-01 build -Z build-std=core --target ${{ matrix.target }} -p $0 --locked || exit 255'

0 comments on commit 744315d

Please sign in to comment.