Skip to content

Commit

Permalink
Enable GHMQ, Remove Bors
Browse files Browse the repository at this point in the history
  • Loading branch information
AfoHT committed Jul 5, 2023
1 parent fe97aa3 commit a2a7bc5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
4 changes: 0 additions & 4 deletions .github/bors.toml

This file was deleted.

14 changes: 1 addition & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Build
on:
merge_group:
pull_request:
push:
branches:
- master
- staging
- trying

env:
CARGO_TERM_COLOR: always
Expand All @@ -21,9 +20,6 @@ jobs:
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2

- name: Fail on warnings
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs

- name: cargo fmt --check
run: cargo fmt --all -- --check

Expand All @@ -39,9 +35,6 @@ jobs:
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2

- name: Fail on warnings
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs

- name: Cache Dependencies
uses: Swatinem/rust-cache@v1

Expand All @@ -56,18 +49,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Fail on warnings
run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs

- name: Cache Dependencies
uses: Swatinem/rust-cache@v2

- name: cargo clippy
run: cargo clippy


# Refs: https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149
#
# ALL THE PREVIOUS JOBS NEEDS TO BE ADDED TO THE `needs` SECTION OF THIS JOB!

ci-success:
Expand Down

0 comments on commit a2a7bc5

Please sign in to comment.