Skip to content

Commit acc104a

Browse files
authored
Merge pull request GitoxideLabs#57 from EliahKagan/installation
Improve event triggers for crates.io install test
2 parents d59c889 + 33bd24d commit acc104a

File tree

3 files changed

+32
-14
lines changed

3 files changed

+32
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
permissions:
2323
contents: none
2424
name: CI
25-
needs: [test, docs, rustfmt, clippy, installation]
25+
needs: [test, docs, rustfmt, clippy]
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Done
@@ -51,18 +51,6 @@ jobs:
5151
if: ${{ matrix.os != 'windows-latest' }} # on windows, journey tests don't run yet and it's not important enough right now
5252
run: just ci-test
5353

54-
installation:
55-
name: Installation
56-
strategy:
57-
matrix:
58-
os: ["ubuntu-latest", "windows-latest"]
59-
rust: ["stable"]
60-
continue-on-error: ${{ matrix.rust != 'stable' }}
61-
runs-on: ${{ matrix.os }}
62-
steps:
63-
- name: "Installation from crates.io: cargo-smart-release"
64-
run: cargo install --debug --force cargo-smart-release
65-
6654
lockfile:
6755
runs-on: ubuntu-latest
6856
steps:

.github/workflows/install.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Installation
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
push:
8+
tags:
9+
- 'v*'
10+
schedule:
11+
- cron: '1 1 1 * *'
12+
workflow_dispatch:
13+
14+
env:
15+
RUST_BACKTRACE: 1
16+
CARGO_TERM_COLOR: always
17+
CLICOLOR: 1
18+
19+
jobs:
20+
installation:
21+
name: Installation
22+
strategy:
23+
matrix:
24+
os: ["ubuntu-latest", "windows-latest"]
25+
rust: ["stable"]
26+
continue-on-error: ${{ matrix.rust != 'stable' }}
27+
runs-on: ${{ matrix.os }}
28+
steps:
29+
- name: "Installation from crates.io: cargo-smart-release"
30+
run: cargo install --debug --force cargo-smart-release

.github/workflows/rust-next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
toolchain: stable
5353
- uses: Swatinem/rust-cache@v2
54-
- name: Update dependencues
54+
- name: Update dependencies
5555
run: cargo update
5656
- name: Default features
5757
run: cargo test --workspace --all-targets

0 commit comments

Comments
 (0)