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

81 Commits

Author SHA1 Message Date
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