1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 13:47:38 +00:00
Commit Graph

288 Commits

Author SHA1 Message Date
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
Tiffany Le-Nguyen
fbfde79b08
chore: remove redundant section from PR template (#1253) 2020-05-24 12:12:22 -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
Matan Kushner
b3cc7b4016
chore: update "ask a question" to direct to the new discussion page 2020-04-02 00:10:09 -04:00
Matan Kushner
a281c0d094
chore: create issue template config file 2020-04-02 00:08:40 -04:00
Matan Kushner
ae7077f1f8
Update Sponsor badge to support the Starship org 2020-03-19 12:16:30 -04:00
David Knaack
fef8cc8bbd
improvement: replace reqwest with attohttpc (#999) 2020-03-14 21:07:34 -04:00
Matan Kushner
f79baf1a63
chore: add Open Collective to FUNDING.yml (#976) 2020-03-05 10:57:04 -05: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
2edccd8848
docs: Update bug report template 2019-12-15 19:27:23 -05:00
Jon Grythe Stødle
76804cc3c8 feat: Add bug-report sub-command (#725)
This adds a sub command to generate the link. Information, such as operating system and it's version; the current shell's config; and current starship conf, is gathered from the environment and is included in the pre-filled text. The command will also try to open the link in the default browser. Should that fail it will print the link instead and ask the user to copy it.
2019-12-14 18:40:12 -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
8f6b0e8710
chore: Add the sponsorship button to the repo 2019-10-13 01:56:05 +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
Nick Young
6621e4c859 feat: Add dotnet module (#416)
Adds a .NET module, which preferentially parses local/git files to get
the .NET version.
2019-10-02 01:56:48 -05:00
Thomas O'Donnell
d335abca3d ci: Remove unused java testsuite (#445) 2019-09-30 10:38:53 +09:00
Kuba Clark
71f03ec3e9 feat: Add Java Module (#314)
Implements a Java module which shows basic Java information when inside a Java project.
2019-09-19 18:02:53 -05:00
Matan Kushner
c5e693b638
ci: Update Actions events to include pull_request 2019-09-04 20:56:06 -04:00
Matan Kushner
e66d7bae1c
ci: Migrate CI from Azure Pipelines to GitHub Actions (#233)
Migrated CI from Azure Pipelines to GitHub Actions.
Until the release process is figured out in Actions, we'll stick to using Azure pipelines for releases.
2019-09-04 19:13:53 -04:00
Thomas O'Donnell
789d504a44 Chore: Update PR template to add semver types (#287)
Have upded the PR template to add the semantic versioning types 
this should make it easier to pass the semantic-pull-requests checks.
2019-09-04 08:37:18 -05:00
Matan Kushner
7f7d77b3d9 chore: Add labels to issue templates 2019-08-19 13:00:32 -04:00
Matan Kushner
c99f4ba338
Clean up feature request template comment 2019-04-30 14:30:40 -04:00
Tiffany Le-Nguyen
85e4b11f0b 📝 Add PULL_REQUEST_TEMPLATE.md (#30)
Co-authored-by: Matan Kushner <hello@matchai.me>
2019-04-26 14:22:58 -04:00
Tiffany Le-Nguyen
5583ce522b Add feature request template (#29) 2019-04-25 23:34:32 -04:00
Tiffany Le-Nguyen
3ca4cd90d8 Add bug report template (#28) 2019-04-25 23:00:57 -04:00