1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-18 02:55:13 +00:00
Commit Graph

173 Commits

Author SHA1 Message Date
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
Matan Kushner
5ff08708c5
chore: upgrade to edition 2021 (#3171) 2021-10-25 13:39:09 -04: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
Chris Rose
85f7a4be39
ci: disable the security-audit cron on non-canonical forks (#3027)
Co-authored-by: Chris Rose <offline@offby1.net>
2021-09-01 13:47:07 -04:00
Chris Rose
2865f135f0
ci: disable dependabot cron on starship forks (#2993) 2021-08-17 08:46:17 -04:00
Caleb Maclennan
82f68a0a39
ci: Use default token for release action (#2920)
See upstream: https://github.com/softprops/action-gh-release/pull/83
2021-07-27 09:18:54 -04:00
Matan Kushner
09b12a52dd
ci: remove working-directory from netlify cli action 2021-06-20 14:25:33 -04:00
dependabot[bot]
dc92d664e2
build: bump akheron/dependabot-cron-action from 0.2 to 1 (#2794)
Bumps [akheron/dependabot-cron-action](https://github.com/akheron/dependabot-cron-action) from 0.2 to 1.
- [Release notes](https://github.com/akheron/dependabot-cron-action/releases)
- [Commits](88ece48110...d020867c00)

---
updated-dependencies:
- dependency-name: akheron/dependabot-cron-action
  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>
2021-06-11 08:26:18 +02:00
dependabot[bot]
2e0719d049
build: bump akheron/dependabot-cron-action (#2792)
Bumps [akheron/dependabot-cron-action](https://github.com/akheron/dependabot-cron-action) from b44d8e19e4f49eede254d9884e3f0e7712d431ba to 0.2. This release includes the previously tagged commit.
- [Release notes](https://github.com/akheron/dependabot-cron-action/releases)
- [Commits](b44d8e19e4...88ece48110)

---
updated-dependencies:
- dependency-name: akheron/dependabot-cron-action
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 03:12:13 -04:00
dependabot[bot]
96b5fc23a1
build: bump actions/cache from 2.1.5 to 2.1.6 (#2765)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 03:27:19 -04:00
Matan Kushner
20e10c550f
ci: set the working directory when building docs 2021-05-15 10:26:48 -04: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]
4651b04d5a
build: bump actions-rs/audit-check from 1 to 1.2.0 (#2712)
Bumps [actions-rs/audit-check](https://github.com/actions-rs/audit-check) from 1 to 1.2.0.
- [Release notes](https://github.com/actions-rs/audit-check/releases)
- [Changelog](https://github.com/actions-rs/audit-check/blob/master/CHANGELOG.md)
- [Commits](https://github.com/actions-rs/audit-check/compare/v1...v1.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 05:05:36 -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]
6927cd02ad
build: bump actions/cache from 2 to 2.1.5 (#2715)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v2.1.5)

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:45 -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
Matan Kushner
439491e977
ci: update token used by Dependabot auto-merge 2021-05-03 12:59:25 -04:00
Matan Kushner
cde221c60a
ci: provide action sha instead of version 2021-05-03 11:17:10 -04:00
Matan Kushner
bd490bfbfd
ci: use Action for auto-merging Dependabot PRs
Switch to one that supports squash-merging.
2021-05-03 09:17:01 -04:00
Matan Kushner
39f0d3f839
ci: build and deploy site outside of Netlify 2021-05-01 18:06:12 -04:00
Matan Kushner
afd3d26da0
ci: publish on successful release (#2676) 2021-05-01 15:42:08 -04:00
Matan Kushner
65cbd2093c
ci: use dependabot-pr-action@master 2021-04-29 20:16:03 -04:00
Matan Kushner
f99ac9faef
Delete auto-merge.yml 2021-04-29 20:13:57 -04:00
dependabot[bot]
5c661c0f29
build: bump mislav/bump-homebrew-formula-action from v1.6 to v1.12 (#2668)
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from v1.6 to v1.12.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](https://github.com/mislav/bump-homebrew-formula-action/compare/v1.6...eb692355cafffd5a33d6e56c8767f6fa4c2e845e)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 20:13:39 -04:00
Matan Kushner
fdc8138181
ci: correct action name 2021-04-29 19:12:30 -04:00
Matan Kushner
ab735e880b
ci: auto-merge dependabot PRs on a schedule (#2669) 2021-04-29 18:40:03 -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
Tilmann Meyer
dc8fe1bb6c
ci: remove AUR deploy (#2411)
It was adopted as a community package so this is no longer needed
2021-03-04 15:54:41 -05:00
Matan Kushner
3bc3173de8
ci(docs): only publish site on release (#2322) 2021-02-16 17:41:21 -05:00
David Knaack
cf9c89ef6b
build: fix aarch64-apple-darwin builds (#2300) 2021-02-13 10:44:09 -05:00
David Knaack
edb17bc5c7
ci: fix changelog generation (#2267) 2021-02-04 20:29:41 -05:00
David Knaack
383d2df580
build: add x86_64 freebsd build (#2233) 2021-01-30 12:50:38 +01:00
Matan Kushner
7df794efa8
ci: continue release on error (#2237) 2021-01-29 16:15:59 -05:00
David Knaack
857d536488
build: add aarch64 windows build (#2213) 2021-01-26 22:40:48 +01:00
David Knaack
132be11790
build: add builds for various targets (#2137)
* build: add builds for various targets

* fix typo

Co-authored-by: Matan Kushner <hello@matchai.me>

Co-authored-by: Matan Kushner <hello@matchai.me>
2021-01-21 23:17:02 +01:00
David Knaack
cf82762f6e
ci(macos): install mercurial with brew (#2174) 2021-01-19 22:13:09 +01:00
David Knaack
8e775c4bd7
ci: fix use-cross condition (#2122) 2021-01-12 12:40:38 -05:00
Thomas O'Donnell
f2756b1745
ci(deploy): fix failing Linux GNU builds (#2054) 2021-01-03 14:31:03 -05:00
Thomas O'Donnell
a6c1cad4d0
ci(i686): build Linux 32-bit version of Starship (#1966)
Have updated the deploy workflow to build a 32 bit version of Starship
for Linux. This switches the build steps to use the action-rs cargo
since it makes using cross a lot easier.
2021-01-02 15:29:30 -05: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
fc18212fdb
ci: Auto publish for the AUR (#1360)
* ci: Auto publish for the AUR

* Add commit username + email to deploy.yml

* ci: Use ATiltedTree/create-aur-release

After testing with the other action it turns out that they forgot the `-s` `makepkg` flag meaning download all required dependencies.
I forked it fixed the issue and added a fix from some other fork that allows for multiple source files.

Co-authored-by: Kevin Song <chipbuster@gmail.com>
2020-07-25 18:49:09 -04: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
e3a2a5d748
Fix security audit github action (#1256)
This fixes the Security Audit github workflow by consolidating the two
separte yaml documents that Github Actions didn't like into a single
workflow with multiple triggers. I also added a trigger for PRs as well
as pushes.
2020-05-25 16:04:26 +02: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
Matan Kushner
4d55936f35
ci: download all artifacts at once 2020-04-29 11:28:08 -04:00
David Knaack
fef8cc8bbd
improvement: replace reqwest with attohttpc (#999) 2020-03-14 21:07:34 -04:00
Thomas O'Donnell
d44c037ba5
test: refactor ruby and php modules to use mocked commands (#936) 2020-02-21 11:52:39 -05:00
Thomas O'Donnell
67397d9096
test(golang): refactor golang tests to use mocked command (#925)
Refactor the golang module tests to use a mocked command and no
longer depend on having a particular version of Go installed.
2020-02-12 13:22:21 -05:00
Andrew Prokhorenkov
cead23edca
test: port Haskell module tests to integration test (#913) 2020-02-06 12:12:07 -05:00
Matan Kushner
3365beae09 test(nodejs): Port nodejs module tests from E2E to integraton (#867)
Replaces the existing nodejs module end-to-end tests with integration tests that don't require preinstalled environmental dependencies.

- Moved the tests to the same file as the module they test
- Created a render_module utility function for rendering modules within tests
- Removed Node.js installation during CI setup
- Add Shell to Context to allow for tests to not run shell-specific code
2020-01-26 16:37:18 -06:00
Andrew Prokhorenkov
6f2c9fb397 feat: add Haskell Stack support (#546)
Add a Haskell Stack module when a stack.yaml file is detected
2020-01-25 00:48:39 -06:00
Matan Kushner
aa3746fdbf
ci: Remove changelog generation 2020-01-20 13:06:34 -05:00
Matan Kushner
8ef238d11f
ci: Fetch all tags when generating changelog 2020-01-20 12:04:53 -05:00
Matan Kushner
f5af004d3d
ci: Automate changelog generation 2020-01-20 12:00:38 -05:00
Matan Kushner
8f645ffb8a
ci: Update CI dependencies (#850)
* ci: Replace setup-ruby with use-ruby-action

* ci: Update python version

* ci: Update Ruby version

* Set ruby action to master

* Try installing mercurial earlier in the workflow

* Remove mercurial installation

* Remove mercurial installation on all OSes

* Revert "Remove mercurial installation on all OSes"

This reverts commit 0e1a3e7e928198ece34660494980f00102df8c45.

* Update hg installation comment

* Revert Ruby update

* Add caching

* Add caching to audit

* Update workflow.yml

* Only cache during test steps
2020-01-17 20:43:29 -05:00
Matan Kushner
09fe0afc14
ci: Remove Docker test environment from CI (#806) 2020-01-06 00:35:46 -05:00
BSKY
36cfbfcf03 build: Bump checkout action from v1 to v2 (#789) 2019-12-28 09:32:17 -05:00
Matan Kushner
d1b725a47c
build: Use native SSL instead of OpenSSL 2019-12-20 15:42:21 -05:00
Matan Kushner
83d4c21a09
ci: Install pkg-config for musl build 2019-12-20 15:09:46 -05:00
Matan Kushner
c58178dece
ci: Bump brew with personal account 2019-12-20 10:15:36 -05:00
Shivam Mathur
024e7ea1f3 ci: Use fixed version of setup-php in test workflow (#763) 2019-12-20 10:14:25 -05:00
Matan Kushner
49d1c250d5
build: Install libssl-dev during musl build 2019-12-19 18:09:13 -05:00
Matan Kushner
ba18e1a089
build: Reset homebrew/core before bumping formula 2019-12-13 15:09:57 -05:00
Matan Kushner
3dd7f66ffc
build: Use the correct Homebrew GitHub API token name 2019-12-13 14:45:57 -05:00
Matan Kushner
7ab473c88c
build: Automate bumping starship brew formula 2019-12-13 14:23:58 -05:00
wdullaer
44b37a7bac feat: Implement terraform module with workspace and version (#644) 2019-12-08 20:42:51 -05:00
Stephen Ball
46904e5045 feat: Add PHP version module (#244) 2019-12-05 13:04:27 -05:00
Luca Greco
337f213753 feat: Add the hg_branch module (#569) 2019-12-02 17:37:18 -05:00
marblenix
c098ae65c3 ci: Generate release sha256 sums (#649) 2019-11-25 11:01:01 -05:00
Matan Kushner
f6c6f93b1b
ci: Remove nesting from within release archives 2019-11-13 10:58:56 +09:00
marblenix
c7cbaa155e ci: Switch to the msvc rust toolchain (#636) 2019-11-12 14:30:35 +09:00
Matan Kushner
4895276b1b
ci: Update Python to 3.7.5 (#628) 2019-11-05 16:23:33 +09:00
Matan Kushner
803db9d6fa
ci: Remove brew version bump step 2019-11-03 09:59:48 +09:00
Matan Kushner
111508d706
ci: Remove need for tests to pass for release 2019-11-02 20:18:19 +09:00
Matan Kushner
e0254f26e2
ci: Remove CHANGELOG.md generation
Because of permissions issues with having bots push to master, it
looks like it won't be possible to do from an Action right now.
2019-10-25 21:54:13 +09:00
Matan Kushner
043c3c9117
ci: Add CHANGELOG.md generation 2019-10-25 21:34:02 +09:00
Matan Kushner
1d96338ac6
revert: "ci: Remove tests having to pass for release"
This reverts commit d691e0a394.
2019-10-25 21:29:38 +09:00
Matan Kushner
c398878c90
ci: Add --global flag to git config commands 2019-10-25 21:22:38 +09:00
Matan Kushner
e81e1b51db
ci: Version the setup-* actions used for testing 2019-10-25 20:44:35 +09:00
Matan Kushner
d691e0a394
ci: Remove tests having to pass for release 2019-10-25 20:35:58 +09:00
Matan Kushner
e3f1a76e97
ci: Disable windows msvc builds 2019-10-21 00:05:36 +09:00
Matan Kushner
fbb4b59ca9
ci: Fix windows-msvc build failure
Split Windows and -nix asset preparation steps
2019-10-20 23:20:11 +09:00
Matan Kushner
2461b84ed9
ci: Add git user for brew bump version 2019-10-20 21:40:04 +09:00
Matan Kushner
e2e7277630
ci: Correct the brew directory being navigated to 2019-10-16 11:51:30 +09:00
Matan Kushner
47268a64e7
ci: Fix stripping artifact on Windows 2019-10-16 11:45:51 +09:00