Skip to content

Commit

Permalink
ci: Add bors support (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
morenol committed Apr 14, 2023
1 parent 689ea4e commit e87f9cf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ concurrency:

on:
workflow_dispatch:
push:
branches:
- staging
- trying
pull_request:
branches: [main]
paths:
Expand Down Expand Up @@ -95,3 +99,12 @@ jobs:
timeout-minutes: 20
run: make integration_tests

done:
name: Done
needs:
- check
- integration_tests
runs-on: ubuntu-latest
steps:
- name: Done
run: echo "Done!"
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
# will have compiled files and executables
/target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk
*.log
*.log
4 changes: 4 additions & 0 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
status = ["Done"]
use_squash_merge = true
delete_merged_branches = true
timeout_sec = 3600 # 45 mins

0 comments on commit e87f9cf

Please sign in to comment.