Commit Graph

145 Commits

Author SHA1 Message Date
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
b673f91a46 fix(build): respect the lockfile (#2614) 2021-04-21 10:21:18 -05:00
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
3bc3173de8 ci(docs): only publish site on release (#2322) 2021-02-16 17:41:21 -05:00
cf9c89ef6b build: fix aarch64-apple-darwin builds (#2300) 2021-02-13 10:44:09 -05:00
edb17bc5c7 ci: fix changelog generation (#2267) 2021-02-04 20:29:41 -05:00
383d2df580 build: add x86_64 freebsd build (#2233) 2021-01-30 12:50:38 +01:00
7df794efa8 ci: continue release on error (#2237) 2021-01-29 16:15:59 -05:00
857d536488 build: add aarch64 windows build (#2213) 2021-01-26 22:40:48 +01:00
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
cf82762f6e ci(macos): install mercurial with brew (#2174) 2021-01-19 22:13:09 +01:00
8e775c4bd7 ci: fix use-cross condition (#2122) 2021-01-12 12:40:38 -05:00
f2756b1745 ci(deploy): fix failing Linux GNU builds (#2054) 2021-01-03 14:31:03 -05:00
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
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
2f106a3d37 ci: temporarily disable GH Actions cache 2020-10-13 15:58:36 -04:00
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
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
88b603be38 test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
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
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
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
de041dd39d ci: revert back to actions-rs (#1457) 2020-07-08 11:53:03 -04:00
0f52b7b12e ci: rewrite project GH Actions (#1450) 2020-07-07 12:28:37 -04:00
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
c97f9aef98 ci: use action to bump Homebrew formula (#1391) 2020-06-26 11:28:34 -04:00
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
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
a670e01c22 ci: upgrade Python for integration tests (#1243) 2020-05-21 13:13:51 -04:00
284ee4e1ed revert(ci): download all artifacts at once
This reverts commit 4d55936f35.
2020-05-15 11:09:07 -04:00
a3e12a1112 ci: Update Python to 3.8.2 (#1181) 2020-05-08 14:25:46 +02:00
4d55936f35 ci: download all artifacts at once 2020-04-29 11:28:08 -04:00
fef8cc8bbd improvement: replace reqwest with attohttpc (#999) 2020-03-14 21:07:34 -04:00
d44c037ba5 test: refactor ruby and php modules to use mocked commands (#936) 2020-02-21 11:52:39 -05:00
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
cead23edca test: port Haskell module tests to integration test (#913) 2020-02-06 12:12:07 -05:00
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
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
aa3746fdbf ci: Remove changelog generation 2020-01-20 13:06:34 -05:00
8ef238d11f ci: Fetch all tags when generating changelog 2020-01-20 12:04:53 -05:00
f5af004d3d ci: Automate changelog generation 2020-01-20 12:00:38 -05:00
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 0e1a3e7e92.

* 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
09fe0afc14 ci: Remove Docker test environment from CI (#806) 2020-01-06 00:35:46 -05:00
36cfbfcf03 build: Bump checkout action from v1 to v2 (#789) 2019-12-28 09:32:17 -05:00
d1b725a47c build: Use native SSL instead of OpenSSL 2019-12-20 15:42:21 -05:00
83d4c21a09 ci: Install pkg-config for musl build 2019-12-20 15:09:46 -05:00
c58178dece ci: Bump brew with personal account 2019-12-20 10:15:36 -05:00
024e7ea1f3 ci: Use fixed version of setup-php in test workflow (#763) 2019-12-20 10:14:25 -05:00
49d1c250d5 build: Install libssl-dev during musl build 2019-12-19 18:09:13 -05:00
ba18e1a089 build: Reset homebrew/core before bumping formula 2019-12-13 15:09:57 -05:00