Skip to content

Update ndc-sdk version to v1.6.0 (#151) #835

Update ndc-sdk version to v1.6.0 (#151)

Update ndc-sdk version to v1.6.0 (#151) #835

Workflow file for this run

name: SQLServer NDC check formatting with Rustfmt
on:
push:
merge_group:
jobs:
formatting:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Ensure rustfmt is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
# scream into Slack if something goes wrong
- name: Report Status
if: github.ref == 'refs/heads/main'
uses: ravsamhq/notify-slack-action@v2
with:
status: ${{ job.status }}
notify_when: failure
notification_title: "😧 Error on <{repo_url}|{repo}>"
message_format: "🐴 *{workflow}* {status_message} for <{repo_url}|{repo}>"
env:
SLACK_WEBHOOK_URL: ${{ secrets.BROKEN_BUILD_SLACK_WEBHOOK_URL }}