Ivan Petkov
38ff0748f4
ci: update gh cli flag
2023-09-17 20:46:51 -07:00
Ivan Petkov
ba6a26c734
Auto-approve flake update PRs ( #389 )
...
* ci: auto-approve flake update automation
* ci: update flake every 2 weeks (instead of 4)
2023-09-18 03:32:33 +00:00
dependabot[bot]
80432e1545
chore(deps): bump DeterminateSystems/update-flake-lock from 19 to 20 ( #380 )
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock ) from 19 to 20.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases )
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v19...v20 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
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>
2023-09-01 15:43:16 -07:00
Ivan Petkov
fd51c85af2
ci: allow manual triggers of flakehub publish
2023-08-22 17:23:49 -07:00
Ivan Petkov
6513bc64ee
Add flakehub integration ( #371 )
2023-08-22 17:21:41 -07:00
Ivan Petkov
a0d1df4631
Fix alt-registry example ( #343 )
...
* crates.io uses the sparse registry by default, and trying to
explicitly register a sparse registry for it results in errors
* Also set nixConfig to include binary cache
2023-06-18 23:16:45 +00:00
Ivan Petkov
f31931d6f8
Update support to nixos-23.05 ( #339 )
...
Dropping support for nixos-22.11
2023-06-08 00:15:38 +00:00
dependabot[bot]
4bdf5595ae
chore(deps): bump cachix/install-nix-action from 20 to 21 ( #333 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-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>
2023-06-04 16:36:59 +00:00
dependabot[bot]
841b3f7017
chore(deps): bump DeterminateSystems/update-flake-lock from 18 to 19 ( #309 )
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock ) from 18 to 19.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases )
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v18...v19 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
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>
2023-05-01 16:58:42 -07:00
Ivan Petkov
65d3f6a397
Update flake.lock ( #290 )
...
* flake.lock: Update
Flake lock file updates:
• Updated input 'flake-utils':
'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13)
→ 'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ae8bdd2de4c23b239b5a771501641d2ef5e027d0' (2023-03-01)
→ 'github:NixOS/nixpkgs/53dad94e874c9586e71decf82d972dfb640ef044' (2023-04-03)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/e53e8853aa7b0688bc270e9e6a681d22e01cf299' (2023-03-03)
→ 'github:oxalica/rust-overlay/7ec2ff598a172c6e8584457167575b3a1a5d80d8' (2023-04-03)
* Filter out build-std example on macOS
* Update cross-overlay example
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-04 05:08:23 +00:00
dependabot[bot]
9297a5fde1
chore(deps): bump DeterminateSystems/update-flake-lock from 16 to 18 ( #286 )
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock ) from 16 to 18.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases )
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v16...v18 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
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>
2023-04-01 17:08:15 -07:00
Ivan Petkov
f3f763e4d9
ci: ensure all dependent jobs actually pass, not just run
2023-02-28 19:50:23 -08:00
dependabot[bot]
88dc927720
chore(deps): bump cachix/install-nix-action from 18 to 20 ( #257 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 18 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v20 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-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>
2023-03-01 16:47:19 -08:00
Ivan Petkov
972ef2af69
ci: bump to cachix/install-nix-action@19 ( #231 )
...
* By default the GITHUB_TOKEN is set as an access token (to avoid rate
limiting) so we don't have to do it explicitly
2023-02-08 00:03:11 +00:00
dependabot[bot]
013614dd50
chore(deps): bump DeterminateSystems/update-flake-lock from 15 to 16 ( #227 )
...
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock ) from 15 to 16.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases )
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v15...v16 )
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
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>
2023-02-01 23:54:33 +00:00
Ivan Petkov
00564437f3
Properly handle workspace inheritance in git dependencies ( #224 )
...
Crates from git repos are vendored in a flattened directory where each crate shows up at the root of the vendor directory. Since the vendoring step effectively breaks workspace structures, any crates which use workspace inheritance (e.g. package.version.workspace = true will fail to resolve.
To work around this we inspect the crate's workspace manifest (if it exists) and attempt to manually merge the values while copying the contents to the vendor directory.
2023-01-21 16:46:32 -08:00
Ivan Petkov
ea3a813939
examples: add cross-windows ( #218 )
...
* ci: disable running examples
2023-01-07 01:11:42 +00:00
Ivan Petkov
cc20f29b4a
ci: pass GITHUB_TOKEN as an access token in more places
2023-01-03 19:52:45 -08:00
Ivan Petkov
a4d70a26e7
Add Crane book ( #199 )
2022-12-26 14:27:13 -08:00
Ivan Petkov
ea271bdc05
ci: test against 22.11 and stop testing 22.05 ( #179 )
2022-12-01 20:12:55 -08:00
dependabot[bot]
ed59895b7a
chore(deps): bump DeterminateSystems/update-flake-lock from 14 to 15 ( #178 )
2022-12-01 22:40:42 +00:00
Ivan Petkov
24591d5f8c
ci: pass in GITHUB_TOKEN to avoid being rate-limited
2022-11-27 19:24:42 -08:00
Ivan Petkov
35fd8fcbb0
Run nixpkgs-fmt
2022-11-20 16:28:49 -08:00
Ivan Petkov
acbb22591c
ci: enable building examples with macOS ( #170 )
2022-11-19 16:08:15 -08:00
dependabot[bot]
0ac39916b3
chore(deps): bump cachix/cachix-action from 11 to 12 ( #152 )
2022-11-01 19:31:00 -07:00
Ivan Petkov
2ce1a3313e
Eliminate dead code ( #148 )
2022-10-23 23:20:22 +00:00
Ivan Petkov
4d6f74978e
ci: disable automatic approval for flake update workflow
2022-10-23 14:42:23 -07:00
Ivan Petkov
af1da2f271
ci: rewrite flake update workflow
...
* Rewrite the workflow to open (and then immediately approve) a PR with
the flake updates, allowing the rest of the branch protection rules
(i.e. running the test suite) to be applied before merging
2022-10-23 14:20:57 -07:00
Ivan Petkov
eadc11533b
ci: schedule periodic flake updates
2022-10-21 17:36:43 -07:00
Ivan Petkov
a7e27ff425
ci: actually update the flake
2022-10-20 21:07:16 -07:00
Ivan Petkov
9ed120ca50
ci: move test logic into a script
2022-10-20 21:05:09 -07:00
Ivan Petkov
9c16d69328
ci: allow test workflow to be called
2022-10-20 17:58:03 -07:00
Ivan Petkov
77dcc1315f
ci: update workflow
2022-10-19 21:06:08 -07:00
Ivan Petkov
e98f7263f4
ci: Add workflow for updating flake dependencies
2022-10-19 21:01:43 -07:00
Ivan Petkov
8b57883437
ci: don't abort other jobs if one fails
...
* The best thing we can do is finish those jobs and cache their results
so subsequent runs don't have to start over again
2022-06-26 11:38:51 -07:00
Ivan Petkov
30eadf3b3f
ci: bump nix stable version to 2.8.1
2022-06-01 17:03:31 -07:00
Ivan Petkov
e0fbad205b
Add extra tests for mkDummySrc inputs
2022-05-29 15:43:58 -07:00
dependabot[bot]
4bd4c72e16
chore(deps): bump cachix/install-nix-action from 16 to 17
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 16 to 17.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v16...v17 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-01 17:00:13 +00:00
Ivan Petkov
72f078886f
ci: explicitly run default app
2022-04-27 19:38:46 -07:00
Ivan Petkov
f4ceddda25
ci: run on PR updates as well as ci-* branches
2022-04-27 17:17:03 -07:00
dependabot[bot]
2e7cbc1a00
chore(deps): bump actions/checkout from 2.4.0 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.4.0 to 3.
- [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.4.0...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 22:18:32 +00:00
Ivan Petkov
5e78d64771
ci: pin Nix install version for latest stable branch
2022-02-20 14:24:07 -08:00
Ivan Petkov
a9b6806931
ci: don't run twice on push to PR
2022-02-11 19:59:46 -08:00
Ivan Petkov
09049b0ce3
Fix template tests
2022-01-22 10:21:08 -08:00
Ivan Petkov
725a646c8d
Add CI
2022-01-16 16:15:12 -08:00