Commit graph

351 commits

Author SHA1 Message Date
Alex d5ab502f42 build: harden GnuComment.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-10-30 23:52:55 +02:00
Sylvestre Ledru aa81f4675f
Merge pull request #3994 from tertsdiepraam/msrv-1.60
Bump MSRV to 1.60
2022-10-12 21:55:09 +02:00
Terts Diepraam f8f3ae3c65 bump msrv to 1.60 2022-10-12 12:09:28 +02:00
Terts Diepraam 0a446db839 CI/GnuComment: update github-script action 2022-10-12 12:08:33 +02:00
Sylvestre Ledru 15ed0534ba
Improve the formating + remove debug message 2022-10-12 09:26:20 +02:00
Sylvestre Ledru e127fb2eba
GNU comment: Need casting ... 2022-10-11 22:19:49 +02:00
Sylvestre Ledru d68dd23a56
GNU comment: Only display a comment if there is any (#4026)
* GNU comment: Only display a comment if there is any
2022-10-11 20:58:00 +02:00
Sylvestre Ledru d1e2bb7746
Revert "build(deps): bump actions/github-script from 3.1.0 to 6.3.1" 2022-10-11 08:42:26 +02:00
Sylvestre Ledru d6ca61c279
Merge pull request #4017 from uutils/sylvestre-patch-2
GNU testsuite result: Improve the display
2022-10-10 14:02:28 +02:00
Sylvestre Ledru 2cd95851d4
Merge pull request #4018 from uutils/sylvestre-patch-3
Remove unnecessary permissions
2022-10-10 14:02:06 +02:00
dependabot[bot] 0c2646ad52
build(deps): bump actions/github-script from 3.1.0 to 6.3.1
Bumps [actions/github-script](https://github.com/actions/github-script) from 3.1.0 to 6.3.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v3.1...v6.3.1)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 06:39:44 +00:00
Sylvestre Ledru 3823e12063 Improve the display 2022-10-10 08:03:39 +02:00
Sylvestre Ledru 94b8602e91 Remove unnecessary permissions 2022-10-10 08:03:34 +02:00
Terts Diepraam 7febaf8b68 GNuComment: clear comment log before appending the messages 2022-10-09 23:03:12 +02:00
Terts Diepraam 562b7e7de8 GnuComment: convert loaded text into string 2022-10-09 17:14:22 +02:00
Terts Diepraam f749a129aa ci: upload comparison log regardless of previous result 2022-10-09 12:35:00 +02:00
Terts Diepraam 0f1638545c CI: Fix up JS syntax in GnuComment 2022-10-09 11:23:54 +02:00
Terts Diepraam 4f5407d22b CI: run gnucomment also if pipeline fails 2022-10-09 11:16:57 +02:00
Terts Diepraam b9ce759a4b gnutests: also store PR number in comment artifact 2022-10-08 17:24:30 +02:00
Terts Diepraam f5b5dfa1a2 gnutests: save comparison in a comment log 2022-10-08 14:57:09 +02:00
Sylvestre Ledru d78089ea53
Replace pull_request by pull_request_target
See https://github.com/uutils/coreutils/pull/4006#issuecomment-1272290250
2022-10-08 12:46:12 +02:00
Sylvestre Ledru b4de65b4d7
Add pull-requests: write for GNU CI 2022-10-08 12:21:26 +02:00
Sylvestre Ledru a61230828e
Update the GNU CI permissions to allow messages for results 2022-10-06 17:10:18 +02:00
Terts Diepraam adf4bab03c tests: do not generate module structure in build.rs
Generating the tests to run in build.rs created problems for tooling. For example, cargo fmt, was ignoring the test_*.rs files and needed to be passed these files manually to be formatted. Now we simply use the feature mechanism to decide which tests to run.
2022-10-05 13:30:22 +02:00
dependabot[bot] 78994824f8
build(deps): bump vmactions/freebsd-vm from 0.2.6 to 0.2.9
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.6 to 0.2.9.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.6...v0.2.9)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 06:46:23 +00:00
Alex 1138c906fe build: harden CICD.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-25 16:30:33 +02:00
Alex b182f81a62 build: harden GnuTests.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-25 16:17:38 +02:00
Terts Diepraam f8c9de706f
Merge pull request #3948 from sylvestre/gnu-root
Agregate the root GNU testsuite results
2022-09-17 20:51:02 +02:00
Sylvestre Ledru 20af659f09 Run the GNU root tests in a separate task 2022-09-17 13:19:06 +02:00
Sylvestre Ledru cfa7ba2ce2 gnu: merge the root tests results into the main one 2022-09-17 13:19:03 +02:00
Sylvestre Ledru 7a6967cdff GNU test: Generate a few more locales
One of the test is skipped with:
sort-h-thousands-sep.sh: skipped test: The Swedish locale with blank thousands separator is unavailable.
2022-09-16 16:12:58 +02:00
Sylvestre Ledru 6c8dab38b8
Merge pull request #3925 from uutils/dependabot/github_actions/vmactions/freebsd-vm-0.2.6
build(deps): bump vmactions/freebsd-vm from 0.2.4 to 0.2.6
2022-09-12 15:27:19 +02:00
Hanif Bin Ariffin fd9d49d1b2 cargo-tree is already part of cargo. Use that instead
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
2022-09-12 19:22:33 +08:00
dependabot[bot] b624b054be
build(deps): bump vmactions/freebsd-vm from 0.2.4 to 0.2.6
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.4 to 0.2.6.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.4...v0.2.6)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 07:49:07 +00:00
Sylvestre Ledru e8ea75fc23 bump the Minimum Supported Rust Version to 1.59.0
Needed for os_str_bytes & time:

```
error: package `os_str_bytes v6.3.0` cannot be built because it requires rustc 1.57.0 or newer, while the currently active rustc version is 1.56.1
error: package `time v0.3.14` cannot be built because it requires rustc 1.59.0 or newer, while the currently active rustc version is 1.56.1
```
2022-09-07 21:26:06 +02:00
Sylvestre Ledru 6b8b8a1ee7 docker: Mount some volumes when building with cross
Many thanks to Aleksandr Chebotov for the help
2022-09-04 23:35:34 +02:00
dependabot[bot] 4f967de2eb
build(deps): bump vmactions/freebsd-vm from 0.2.3 to 0.2.4
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 06:41:02 +00:00
Niyaz Nigmatullin 13b6979dad CI: add timeouts 360 minutes -> 90 minutes, some Windows runs sometimes hang 2022-08-21 15:55:41 +03:00
Niyaz Nigmatullin 37b7375dae CI: add timeout to freebsd and android tests, since it sometimes hangs 2022-08-17 22:09:56 +03:00
Sylvestre Ledru c401b35fdd
dependabot: allow 10 PR 2022-08-15 13:39:37 +02:00
Sylvestre Ledru c660fc700f
Merge pull request #3757 from cakebaker/clap_update
bump clap from 3.1.18 to 3.2.15
2022-08-02 09:56:01 +02:00
Daniel Hofstetter fc4544c42b bump clap from 3.1.18 to 3.2.15 2022-07-29 14:05:02 +02:00
dependabot[bot] e7cde6a3b9
build(deps): bump vmactions/freebsd-vm from 0.2.1 to 0.2.3
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.1 to 0.2.3.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.1...v0.2.3)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 06:33:48 +00:00
dependabot[bot] c49aa606f4
build(deps): bump vmactions/freebsd-vm from 0.2.0 to 0.2.1
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 06:58:02 +00:00
dependabot[bot] 7948cb7924
build(deps): bump vmactions/freebsd-vm from 0.1.9 to 0.2.0
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.9 to 0.2.0.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.9...v0.2.0)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 06:45:20 +00:00
Sylvestre Ledru 5eafcc4801
Use macos-12 for freebsd hosts 2022-07-19 14:04:03 +02:00
Sylvestre Ledru ce12dec5c9
freebsd-vm - update to 0.1.9 2022-07-18 16:17:20 +02:00
dependabot[bot] 04ddf559ec build(deps): bump vmactions/freebsd-vm from 0.1.7 to 0.1.8
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.7...v0.1.8)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 12:12:19 +02:00
dependabot[bot] 2e39f6faf2
build(deps): bump vmactions/freebsd-vm from 0.1.6 to 0.1.7
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.6...v0.1.7)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-13 06:41:10 +00:00
Sylvestre Ledru 37b754f462
Build & install grcov ourselves + force the version of crossbeam-epoch (#3702)
Fixes:
https://github.com/uutils/coreutils/issues/3680
https://github.com/mozilla/grcov/issues/849
2022-07-07 15:21:39 +02:00
Sylvestre Ledru c2d1d061ef Pin the cross version in the ci (Closes: #3683) 2022-06-29 17:53:08 +02:00
Sylvestre Ledru 1bd5014235
Coverage jobs should start at the same time as others
No need to wait for the regular builds
esp as they might have intermittent
2022-06-22 22:43:16 +02:00
Sylvestre Ledru 029e0dc613
Extend the number of dependabot alerts 2022-06-15 09:09:08 +02:00
Sylvestre Ledru 8b1236c081
github: continue the other coverage jobs if one fails 2022-06-06 21:21:19 +02:00
Sylvestre Ledru 7a599c26ff dependabot: remove trailing space 2022-05-20 09:27:44 +02:00
dependabot[bot] 5d628310fc
build(deps): bump vmactions/freebsd-vm from 0.1.5 to 0.1.6
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.5...v0.1.6)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 06:45:15 +00:00
Sylvestre Ledru 6f5d5aa456
Merge pull request #3492 from uutils/dependabot/github_actions/codecov/codecov-action-3
build(deps): bump codecov/codecov-action from 1 to 3
2022-05-12 08:40:16 +02:00
Sylvestre Ledru 565e4855ca
Merge pull request #3493 from uutils/dependabot/github_actions/EndBug/add-and-commit-9
build(deps): bump EndBug/add-and-commit from 7 to 9
2022-05-12 08:40:02 +02:00
Sylvestre Ledru 91653fff28
Merge pull request #3494 from uutils/dependabot/github_actions/actions/cache-3
build(deps): bump actions/cache from 2 to 3
2022-05-12 08:39:40 +02:00
Sylvestre Ledru a3e4f7d375
Merge pull request #3495 from uutils/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-05-12 08:36:50 +02:00
dependabot[bot] 28c6403ffa build(deps): bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:21 +02:00
dependabot[bot] fd057574d7 build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 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...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-05-11 12:59:18 +02:00
dependabot[bot] 372d460d7a build(deps): bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:15 +02:00
dependabot[bot] 376f6a158b build(deps): bump EndBug/add-and-commit from 7 to 9
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from 7 to 9.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/EndBug/add-and-commit/compare/v7...v9)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:12 +02:00
dependabot[bot] eeec680c37 build(deps): bump codecov/codecov-action from 1 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:08 +02:00
Sylvestre Ledru 56264ebece
Merge branch 'main' into 2884-time-0.3 2022-05-07 20:57:14 +02:00
Sylvestre Ledru a640ed6489 fix the GNU error detection 2022-05-07 09:52:03 +02:00
Sylvestre Ledru 39520a84ab fix the GNU error detection 2022-05-06 23:54:12 +02:00
Sylvestre Ledru 18f8e168ff
Merge pull request #3488 from turrisxyz/feat/dependabot-github-actions
chore: Included githubactions in the dependabot config
2022-05-06 08:37:45 +02:00
naveensrinivasan 608b1afde5
chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-05-05 19:38:10 -05:00
Sylvestre Ledru f6b9d36891
Merge pull request #3453 from turrisxyz/setup-permissions
chore: Set permissions for GitHub actions
2022-05-05 08:00:20 +02:00
Sylvestre Ledru 9b69e6fd47
Merge branch 'main' into 2884-time-0.3 2022-05-02 18:14:14 +02:00
Sylvestre Ledru ae65dcc7d2 GNU CI: show the new error 2022-05-01 19:00:55 +02:00
Sylvestre Ledru 417b4a22d0 GNU CI: show the new error 2022-05-01 17:07:29 +02:00
Sylvestre Ledru 3a576f2441 time: Various fixes 2022-05-01 17:00:35 +02:00
Sylvestre Ledru f810b55d86 build in verbose mode (cfg isn't used) 2022-05-01 17:00:35 +02:00
naveen adfe4b2289 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-04-29 01:01:27 +00:00
Justin Tracey 4caeb2ff1d add Android to CICD 2022-04-20 08:44:49 +02:00
Sylvestre Ledru b93fb8de70 update another ref to coreutils 9.1 2022-04-18 14:56:11 +02:00
Sylvestre Ledru 9813f48ed8 GNU/Coreutils: update the reference to 9.1 2022-04-18 00:34:42 +02:00
Sylvestre Ledru 2bed02b70a Revert the force set of the rustc nightly version 2022-04-13 11:57:11 +02:00
Terts Diepraam aae298f9a4 Don't pass features when testing individual utils in uucore 2022-04-06 23:23:47 +02:00
Terts Diepraam 31faf86cdb Don't provide features for testing individual utilities
With the Rust 2021 feature resolver, adding a feature like `--features=feat_os_unix` results in an error, because the individual crates do not have that feature.
2022-04-06 11:49:00 +02:00
Terts Diepraam 3629421e17 Bump MSRV to 1.56 2022-04-02 15:18:34 +02:00
Sylvestre Ledru 87c224e978
GNU testsuite: also show the number of SKIP tests 2022-04-01 10:00:44 +02:00
Roy Ivy III bed7dc5a29 maint/CICD ~ (GnuTests) support local bespoke repo default branch 2022-03-31 23:39:11 +02:00
Roy Ivy III a6e3564c5d fix/CICD ~ (GnuTests) be more precise about failing/passing tests 2022-03-31 23:32:28 +02:00
Roy Ivy III cbe6396149 docs ~ (GnuTests) add reference and notes re GNU coreutils testing processes 2022-03-31 23:32:00 +02:00
Sylvestre Ledru 9e86e56668
Remove a comment to retrigger the CI 2022-03-25 15:28:45 +01:00
Sylvestre Ledru 22e06c2458 also fix coverage 2022-03-25 12:06:41 +01:00
Sylvestre Ledru c4d89ab146 ci try to fix the error ? 2022-03-25 11:01:05 +01:00
Sylvestre Ledru 2acac0d558 CI: Force the rustc nightly version to fix issue 3305 2022-03-25 09:41:01 +01:00
Terts Diepraam cf4a0fa5c8 also run unittests in codecov 2022-03-19 22:21:28 +01:00
Terts Diepraam 971f817a95 fix unittests not running in CI 2022-03-19 09:30:49 +01:00
Sylvestre Ledru ad237f8fff
Merge pull request #3267 from sylvestre/gnu-size
GNU ci: compress logs before upload
2022-03-19 09:25:25 +01:00
Sylvestre Ledru cb576effc2 GNU ci: compress logs before upload 2022-03-18 20:45:12 +01:00
Benjamin Bouvier 323f0ef993 Setup cargo-deny in CI too 2022-03-18 20:44:01 +01:00
Sylvestre Ledru a5948ce11b
Merge pull request #3155 from jtracey/gecos-off-by-one
pinky: fix off-by-one in GECOS parsing
2022-03-17 13:35:05 +01:00
Sylvestre Ledru 0571434a75 ci: rename of the tracking size field to match the tracking project 2022-03-13 21:03:40 +01:00
Sylvestre Ledru a22709aedd CI: Disable Windows job i686-pc-windows-gnu
Fails with:
error: linker `i686-w64-mingw32-gcc` not found
And the Windows GNU is covered by x86_64-pc-windows-gnu anyway
2022-03-08 22:57:32 +01:00