CI improvement (#674)

This commit is contained in:
강동윤 2020-02-18 11:36:56 +09:00 committed by GitHub
parent e709da9d55
commit 4a92f5751a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 12 deletions

View File

@ -1,15 +1,16 @@
name: Cargo
on:
push:
# Ignore commits created by bors
branches-ignore:
- 'staging'
- 'trying'
pull_request:
branches-ignore:
- 'staging'
- 'trying'
on: push
#on:
# push:
# # Ignore commits created by bors
# branches-ignore:
# - 'staging'
# - 'trying'
# pull_request:
# branches-ignore:
# - 'staging'
# - 'trying'
env:
RUST_MIN_STACK: 16777216

View File

@ -1,6 +1,6 @@
status = [
# "fmt",
# "test-debug",
"continuous-integration/travis-ci/push"
"%"
]
use_squash_merge = true

View File

@ -180,7 +180,7 @@ impl SourceMap {
None => self.start_pos.fetch_add(len + 1, SeqCst),
// Add one so there is some space between files. This lets us distinguish
// positions in the source_map, even in the presence of zero-length files.
Some(last) => self.start_pos.fetch_add(len + 1, SeqCst),
Some(..) => self.start_pos.fetch_add(len + 1, SeqCst),
}
}