1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-05-31 15:40:51 +00:00
Commit Graph

112 Commits

Author SHA1 Message Date
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
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
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
Matan Kushner
f2031e7d00
ci: Ignore doc changes on pull_request events 2019-10-16 00:32:41 +09:00
David Knaack
6ab70796db feat: Implement PowerShell support (#470) 2019-10-16 00:10:16 +09:00
Matan Kushner
4634449354
ci: Reset brew installation before bump-formula-pr 2019-10-15 01:05:51 +09:00
Matan Kushner
76b47f2f65
ci: Don't run tests for doc updates 2019-10-15 00:34:26 +09:00
Matan Kushner
4d1f0b6c6f
ci: Add token with required scopes for Homebrew 2019-10-13 13:58:25 +09:00
Matan Kushner
e858780eda
ci: Disable CI when updating docs 2019-10-10 16:12:56 +09:00
Matan Kushner
3d07c08f4f
ci: Fix environment variable used by brew 2019-10-09 19:46:02 +09:00
Matan Kushner
ab5dae3d05
ci: Use shell expansion to get the release version for brew 2019-10-07 00:19:38 +09:00
Matan Kushner
e5d37e0a97
ci: Fix the use of COMMIT_TAG when bumping brew formula 2019-10-05 22:23:15 +09:00
Matan Kushner
1bf60b3dd5
ci: Rename main workflow to "Main workflow" 2019-10-05 18:29:13 +09:00
Matan Kushner
935863ddb7
ci: Remove changelog generation for now 2019-10-05 00:38:11 +09:00
Matan Kushner
5fb9593135
ci: Auto-generate CHANGELOG.md 2019-10-05 00:17:29 +09:00
Matan Kushner
3e7b673e89
ci: Fix crates token scope 2019-10-04 23:54:21 +09:00
Matan Kushner
3ef9a953c1
ci: Add brew bump formula version 2019-10-04 23:36:49 +09:00
Matan Kushner
fcaf2592e6
ci: Replace cargo-publish-all with cargo 2019-10-04 23:22:14 +09:00
Matan Kushner
e90a3768da
ci: Use target as matrix instead of OS 2019-10-04 21:47:09 +09:00
Matan Kushner
1d701729cf
ci: Add the Crates.io token secret for publishing 2019-10-04 19:04:46 +09:00
Matan Kushner
aee46dd678
ci: Update CI and migrate publish job to Actions (#455)
- Replace hecrj/setup-rust-action with actions-rs tools
- Add a Cargo Audit test step
- Move cargo publish step from Azure Pipelines to GitHub Actions
- Use cargo-publish-all to publish multiple packages at once
- Automate the creation of release notes
2019-10-04 15:12:48 +09:00