1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-05 21:07:52 +00:00
Commit Graph

106 Commits

Author SHA1 Message Date
renovate[bot]
fad16ca1b8
build(deps): update reviewdog/action-suggester action to v1.7.1 2023-06-20 23:40:36 +00:00
renovate[bot]
ee92e0dd47 build(deps): update reviewdog/action-suggester action to v1.6.1 2023-06-16 07:29:52 +00:00
David Knaack
f716b605f3
ci: remove actions-rs actions (#5115) 2023-05-01 22:15:50 +02:00
David Knaack
4c12a7878b
ci: use reviewdog/action-suggester for config-schema check (#4857)
* ci: use `reviewdog/action-suggester` for config-schema check

* increase workflow permissions
2023-03-02 18:49:26 +01:00
David Knaack
b55774d3a6
feat(release): handle chocolatey starship.portable and starship.install pkg publishing (#4723)
Handles starship.install (MSI installer) and starship.portable and makes starship an 
empty meta-package that only depends on starship.install. MSI/installer packages 
seem to be preferred over zip-based installers on chocolatey. Proper virtual packages 
that allow choosing either a portable or install variant aren't implemented in chocolatey yet.
2023-02-27 23:03:32 -06:00
Matan Kushner
93c7eca550
ci: reduce renovate PR noise (#4892) 2023-02-09 03:51:38 +09:00
Matan Kushner
1e35f0c163
ci: don't fail CI if codecov fails to upload 2023-01-18 12:04:04 +09:00
David Knaack
df37e8d40c
feat(release): add chocolatey publishing (#4637)
* feat(release): add chocolatey publishing

* change variable forwarding
2022-11-25 17:19:03 +01:00
Marco Ieni
e4dbff0fc7
fix(ci): cache after selecting the toolchain (#4619) 2022-11-21 10:54:59 -06:00
renovate[bot]
df5a04288c build(deps): update dependency cargo-wix to 0.3.4 2022-11-12 18:38:46 +00:00
renovate[bot]
1f6619a43e
build(deps): update swatinem/rust-cache action to v2 (#4493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 14:13:12 +02:00
renovate[bot]
867a89a862 build(deps): update dependency cargo-wix to 0.3.3 2022-10-04 17:38:33 +00:00
David Knaack
1e284347fa
ci: avoid running tests twice for dependabot prs (#4350) 2022-09-08 21:00:40 +02:00
David Knaack
b8cbd7748c
ci(windows): fix installer condition (#4056) 2022-06-15 23:30:22 +02:00
David Knaack
89fd5320af
feat(release): add windows msi installers (#4031)
* feat(release): add windows msi installers

* add install documentation

* use intransparent ico-file

* run installer tests on push, add continue-on-error
2022-06-02 22:26:10 +02:00
Kevin Song
296d55f47e
ci: Set MacOS deployment target at 10.7 in CI (#3973) 2022-05-09 22:08:57 +02:00
David Knaack
9b2ce4240c
revert(schema): move config-schema back into .github folder (#3886)
This reverts PR #3878 / commit 094f982df1.
2022-04-18 17:42:47 +02:00
David Knaack
094f982df1
fix(schema): move config-schema into docs folder (#3878) 2022-04-16 10:16:27 -04:00
David Knaack
5cece2776a
ci(codecov): use codecov token (#3866) 2022-04-12 12:01:49 -04:00
Denis Cornehl
e61394a97a
ci: add test coverage reporting with codecov (#3848) 2022-04-08 20:20:24 -04:00
David Knaack
18ad26f98d
feat: allow printing config file schema (#3737) 2022-04-01 17:14:05 +02:00
dependabot[bot]
ef1521bce2
build: bump actions/checkout from 2.4.0 to 3 (#3678)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 10:09:45 -05:00
David Knaack
bfff44fddb
ci: deny warnings, useful env vars, do not cache deploy (#3629)
* ci: deny warnings, useful env vars, do not cache deploy

* fix: allow nightly warnings
2022-02-22 21:16:52 +01:00
Marc Schreiber
dcf66659d0
feat: Enable Undistract Me for Linux (#3547)
In #1019 the undistract feature has been added to starship without
enabling it by default due to the system dependency on libdbus. With
recent versions of notify-rust the dependency is no longer required and
the feature can be enabled by default.
2022-01-31 15:28:13 -06:00
Armando Pérez Marqués
566d95d81b
ci: Add jobs for cargo check with all features and no features (#3440)
* ci: Add jobs for `cargo check` with all features and no features

Augmenting #3435: These jobs will check that compilation still succeeds when no features are selected and with all features selected. So when in the future new features are added, these quick checks can prevent miss-compilation for users that like to tweak with feature sets.

* (fixup) More descriptive job names

* ci: Make the new `cargo_check_*` jobs depend on `cargo_check`
2022-01-16 20:29:28 +01:00
dependabot[bot]
f79ba21020
build: bump actions/checkout from 2.3.5 to 2.4.0 (#3201)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 07:05:25 +00:00
dependabot[bot]
75fda24a94
build: bump actions/checkout from 2.3.4 to 2.3.5 (#3165)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 08:05:38 +01:00
Milo
888a653c32
ci: use Swatinem/rust-cache for caching in CI (#3057) 2021-09-21 13:34:46 -04:00
Matan Kushner
43feb6e4ec
ci: Reenable caching in CI 2021-09-21 14:30:36 +01:00
dependabot[bot]
99fb00d839
build: bump actions-rs/cargo from 1 to 1.0.3 (#2713)
Bumps [actions-rs/cargo](https://github.com/actions-rs/cargo) from 1 to 1.0.3.
- [Release notes](https://github.com/actions-rs/cargo/releases)
- [Changelog](https://github.com/actions-rs/cargo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/actions-rs/cargo/compare/v1...v1.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 07:05:33 -04:00
dependabot[bot]
fdff367b23
build: bump actions/checkout from 2 to 2.3.4 (#2714)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 04:05:47 -04:00
dependabot[bot]
6ccdcf7267
build: bump actions-rs/toolchain from 1 to 1.0.7 (#2716)
Bumps [actions-rs/toolchain](https://github.com/actions-rs/toolchain) from 1 to 1.0.7.
- [Release notes](https://github.com/actions-rs/toolchain/releases)
- [Changelog](https://github.com/actions-rs/toolchain/blob/master/CHANGELOG.md)
- [Commits](https://github.com/actions-rs/toolchain/compare/v1...v1.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 04:05:42 -04:00
dependabot-preview[bot]
abe830ffe7
build: upgrade to GitHub-native Dependabot (#2665)
* Upgrade to GitHub-native Dependabot

* ci: add dependabot-auto-merge action

* ci: update job name

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Matan Kushner <hello@matchai.dev>
2021-04-29 18:14:11 -04:00
Dario Vladović
b673f91a46
fix(build): respect the lockfile (#2614) 2021-04-21 10:21:18 -05:00
David Knaack
cf82762f6e
ci(macos): install mercurial with brew (#2174) 2021-01-19 22:13:09 +01:00
Thomas O'Donnell
6717d40b95
ci: Run against nightly version of rust (#1814)
Now that the uom dependency has been updated and compiles on the nightly
version of rust we can enable the builds again in the build matrix.
2020-10-21 09:17:54 +02:00
Matan Kushner
2f106a3d37
ci: temporarily disable GH Actions cache 2020-10-13 15:58:36 -04:00
Matan Kushner
a8264cdab9
ci: temporarily disable nightly tests
Disabled until the following issue is fixed:
https://github.com/iliekturtles/uom/issues/210
2020-10-13 12:05:55 -04:00
Marc Schreiber
8c71eb5307
feat: Add Undistract Me Feature (#1019)
Often it is handy to get notified when the execution of a command finished.
This commit includes notify-rust in order to generate a desktop notification
when a command execution finished.
2020-08-11 18:44:25 +02:00
Tilmann Meyer
88b603be38
test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
Thomas O'Donnell
7e1ff68b4d
ci: Run clippy on all OSs (#1547)
Have updated the CI config to run clippy on all OSs. This will catch 
any issues in OS specific codes. This might increase the amount of
annotations that are created in any of the common code but it should
be better than the alternative.
2020-08-02 19:06:46 -05:00
Tilmann Meyer
7edd0f6218
test(terraform): move tests which do not require env vars (#1455)
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-07-08 20:24:38 -04:00
Tilmann Meyer
de041dd39d
ci: revert back to actions-rs (#1457) 2020-07-08 11:53:03 -04:00
Tilmann Meyer
0f52b7b12e
ci: rewrite project GH Actions (#1450) 2020-07-07 12:28:37 -04:00
Thomas O'Donnell
3cc7a6d6ac
Use the default version of python in CI (#1449)
This removes the hard requirement for a particular version of python in
the CI, and just uses the default version. Since #1297 was merged we
have not depended on the version of python that is installed. This
should stop us from having to update the version of python when the
github action updates the available versions.
2020-07-07 14:31:02 +02:00
Dario Vladović
c97f9aef98
ci: use action to bump Homebrew formula (#1391) 2020-06-26 11:28:34 -04:00
Thomas O'Donnell
4f481e0a7d
ci: refactor GitHub Actions workflow file (#1249)
* Clean up the workflow file

This removes the trailing whitespace from the workflow, removes an
unused step and fixes up some yaml formatting.

* Make the caching more aggressive

This makes the caching more aggressive by allowing for partial
restoration of the cached data and use the cache for more jobs.

* Run all the tests in parallel

Have stopped the testsuites from requiring the compile checks, Github
Actions doesn't mind that we are running multiple tests in parallel and
this does over a bit of a speed up.

* Separate Security Audit into a separate workflow

Have moved the Cargo Audit check into it's own workflow and switched it
to use the `actions-rs/audit-check` to simplify the setup. Have also
added in a daily security scan.
2020-05-24 20:45:47 -04:00
Matan Kushner
a670e01c22
ci: upgrade Python for integration tests (#1243) 2020-05-21 13:13:51 -04:00
Matan Kushner
284ee4e1ed
revert(ci): download all artifacts at once
This reverts commit 4d55936f35.
2020-05-15 11:09:07 -04:00
John Letey
a3e12a1112
ci: Update Python to 3.8.2 (#1181) 2020-05-08 14:25:46 +02:00