Commit Graph

44 Commits

Author SHA1 Message Date
Nikolai Laevskii
fd2f9a08fe Remove hard dependency from installer 2023-09-08 15:21:18 +02:00
Nikolai Laevskii
6eb2af61b6 Update tests to accomodate for changes 2023-05-31 11:21:34 +02:00
Nikolai Laevskii
6019612129 Merge remote-tracking branch 'github/main' into refactor-installer 2023-05-31 11:18:52 +02:00
Nikolai Laevskii
427804d76a Update tests 2023-05-30 12:45:38 +02:00
Nogic
3447fd6a9f
feat: Cache NuGet global-packages folder (#303)
* feat: cache NuGet global-packages folder

* fix: remove unused files

* docs: fix incorrect action

* ci: add e2e test for cache

* docs: accept suggested changes on README

* docs: add simple cache example

* build: change main script path

* fix: change relative path to install scripts

* fix: change relative path to problem matcher

* refactor: accept changes on cache-utils

* fix: revert main script path changes

* test: fix cache-utils unit test

* test: fix cache-utils unit test

* feat: add `cache-dependency-path` variables

* build: change main script dist path

* ci: add `cache-dependency-path` e2e test & missing lock file

* fix: accept change suggestions

* ci: copy NuGet lock file to root

to pass "test-setup-with-cache" e2e test

* docs: change README guide

* fix: apply suggestions from code review

Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>

* test: fix some failed unit tests

- fix `restoreCache()` test for 9703c8
- update installer script

* build: rebuild dist

* Update unit-tests
- Additional unit test were added to setup-dotnet.test.ts

* Update unit tests for unix systems

* Format and lint unit tests

* fix: avoid use '/' on `path.join`

* fix: rebuild dist

* fix: apply suggestions from code review

Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>

* build: add `DisableImplicitNuGetFallbackFolder` option

also add guide on README

* docs: highlight warnings and notes

* docs: update note about handling NU1403

---------

Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>
Co-authored-by: IvanZosimov <ivanzosimov@github.com>
2023-05-29 12:43:18 +02:00
Nikolai Laevskii
5c7ae4f903 Apply consistent naming 2023-05-24 16:59:05 +02:00
IvanZosimov
38b49fb717 Fix informational and debug messages 2023-05-18 12:39:22 +02:00
IvanZosimov
83a1653fa3 Update regular expresiion for isLatestPatchSyntax() 2023-05-18 11:46:40 +02:00
IvanZosimov
2f028bc044 update unit and e2e tests 2023-05-18 11:11:51 +02:00
IvanZosimov
e8501859aa Update unit tests 2023-05-15 14:24:28 +02:00
IvanZosimov
426d75d071 Merge branch 'main' into add-latest-patch-syntax 2023-05-15 14:13:18 +02:00
Ivan
0f534f5829
Refactor and update unit-tests (#418)
* Update unit-tests and dotnet-install scripts
2023-05-15 14:09:29 +02:00
IvanZosimov
c5a57b219c Update unit-tests 2023-05-05 10:44:54 +02:00
IvanZosimov
6adeb768ce Update docs 2023-05-05 10:43:09 +02:00
IvanZosimov
34c30d0e81 Refactor logic 2023-04-12 15:44:03 +02:00
IvanZosimov
5f570676c2 Add unit and e2e tests 2023-04-11 15:53:11 +02:00
Ivan
c82240598b
Add and configure ESLint and update configuration for Prettier (#391)
* Apply ESLint config and update Prettier

* Update dependencies and rebuild

* Update docs
2023-03-09 14:43:05 +02:00
Ivan
c7e7147fd3
Add ability to write resolved version of SDK into the output variable (#324) 2022-09-29 17:45:25 +02:00
Ivan
0705ef0281
Implement proposal stated in ADR for setup-dotnet v3 and functionality from feature request #219 (#315) 2022-09-27 14:47:12 +02:00
La'Kaleigh Harris
550702114f
Support multiple versions in single invocation (#240) 2021-11-23 13:03:56 +03:00
Zachary Eisinger
7a98346f51
DOTNET_ROOT and short generic versions (#131) 2020-09-24 08:26:00 -07:00
dependabot[bot]
9d7c66c348
Bump node-fetch from 2.6.0 to 2.6.1 (#127)
* Bump node-fetch from 2.6.0 to 2.6.1

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Package and index update

* Formatting on installer.test

* Updated licenses

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zachary Eisinger <zeisinger@github.com>
2020-09-21 12:49:32 -07:00
Zachary Eisinger
352338157c
Install sxs with the install-dotnet scripts (#124)
* Use dotnet-install scripts for proper sxs

* Update dotnet version in testing

* Error message cleanup

* SxS testing in the dotnet project

* Update package lock

* Test fixes

* Use proper environment variable

* Set dotnet root for windows
2020-09-15 09:36:09 -07:00
Zachary Eisinger
40390722c2 Merge branch 'support-latest-version' of https://github.com/litetex/setup-dotnet-forked into litetex-support-latest-version 2020-05-29 14:04:29 -07:00
litetex
983c8ef1bd Fixed format 😱 2020-05-21 13:23:34 +02:00
litetex
a8eaac54ab Tests are now covering the correct preview-format 2020-05-21 13:02:58 +02:00
Zachary Eisinger
a0982bfd3a Merge remote-tracking branch 'origin/master' into global-json 2020-05-15 14:04:07 -07:00
litetex
7b228edf43 Pretty printed code 2020-04-09 19:38:39 +02:00
litetex
c5ee7a1134 Cleanup
* Doc
* Refactored and removed some stuff
2020-04-09 19:26:10 +02:00
litetex
3eb0d2f3dd Reworked version parser
* Updated tests
2020-04-05 15:37:29 +02:00
litetex
3426e11858 More tests 2020-04-04 19:44:50 +02:00
litetex
ebefd7bccb More tests and more fixes 2020-04-04 19:34:45 +02:00
litetex
5411b6342a Removed dummy tests 2020-04-04 19:25:06 +02:00
litetex
a5cce9bf9f Refactoring
* Added more tests
* Allowed also exact versions again
2020-04-04 19:23:59 +02:00
litetex
fd402244d0 Added support for latest version syntax 2020-04-04 18:05:12 +02:00
eric sciple
cf5f899a30 follow proxy settings 2020-02-06 15:02:47 -05:00
Zachary Eisinger
09cc69fecb Fix tests that do not specify full url 2019-11-26 13:27:50 -08:00
Danny McCormick
c0fa767caa
Bump timeouts 2019-08-16 10:26:06 -04:00
Danny McCormick
8b1e9ddf26 Lint 2019-08-12 12:17:46 -04:00
Danny McCormick
db362d751e Feedback 2019-08-12 12:14:43 -04:00
Danny McCormick
1acab72798
New tool cache (#8)
* Consume new tool-cache

* Fix tests

* Fix workflow
2019-07-30 12:53:06 -04:00
Danny McCormick
17fa2e931e
Longer timeout 2019-06-24 08:43:12 -04:00
Danny McCormick
187843cd79
Add installer (#1)
* Add installer

* Add tests

* install-dotnet script should be in externals

* merge

* Fix tests

* Fix naming

* Clean up

* Feedback
2019-06-21 08:21:08 -04:00
Danny McCormick
32b4c69676 Initial commit 2019-06-19 16:22:22 -04:00