Skip to content

Commit

Permalink
Merge pull request #723 from kristof-mattei/update-from-upstream
Browse files Browse the repository at this point in the history
update from upstream
  • Loading branch information
kristof-mattei authored Nov 2, 2023
2 parents dc38c87 + 21d26c8 commit ba14250
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ jobs:
run: |
VERSION="$(cog bump --auto --dry-run || true)"
if [[ -z $VERSION ]]; then
if [[ "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "New version: ${VERSION}"
else
VERSION="$(git tag --points-at "$(git rev-list --tags --max-count=1)" | sort --reverse | head --lines 1)"
echo "No version generated, defaulting to latest git tag: ${VERSION}"
else
echo "New version: ${VERSION}"
fi
# remove v
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ concurrency:

on:
workflow_dispatch: # releasing is manual as we don't want to release every time
branches: [main]

permissions:
contents: write # to write tags
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
20
3 changes: 3 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
"type": "cargo",
"command": "test",
"args": [],
"env": {
"RUSTFLAGS": "-Wclippy::all -Wclippy::pedantic -Wclippy::cargo -Wwarnings"
},
"problemMatcher": ["$rustc"],
"group": "test",
"label": "Rust: cargo test"
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ repository = "https://github.com/kristof-mattei/autoheal-rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[profile.dev.package.backtrace]
opt-level = 3

[features]
coverage = []

Expand Down

0 comments on commit ba14250

Please sign in to comment.