Commit Graph

119 Commits

Author SHA1 Message Date
Nikolai Laevskii
174ee99b90 Fornat 2023-09-08 15:21:35 +02:00
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
b891376106 Merge branch 'main' into add-latest-patch-syntax 2023-05-22 12:29:35 +02:00
IvanZosimov
b05a3f26b3 Fix review points, rebuild solution 2023-05-22 12:27:33 +02:00
Nikolai Laevskii
5fdecd2063
Increase amount of retries for Dotnet installation scripts tests (#427)
* Increase amount of retries for Dotnet installation scripts tests

* Format: Increase amount of retries for Dotnet installation scripts tests
2023-05-19 08:50:54 +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
Ivan
fc8786b149
Update e2e tests and e2e test infrastructure (#414) 2023-04-20 14:42:27 +02:00
IvanZosimov
e0a32d6459 Merge branch 'update-e2e-tests' into add-latest-patch-syntax 2023-04-19 16:43:50 +02:00
IvanZosimov
255362be61 Silent dotnet new globaljson command 2023-04-19 16:32:38 +02:00
IvanZosimov
50b46b3b1d Update verify-dotnet.ps1 2023-04-19 16:24:27 +02:00
IvanZosimov
e8ac21d503 Fix typos 2023-04-19 15:41:28 +02:00
IvanZosimov
180a15970f Update e2e test infrastructure 2023-04-19 13:40:44 +02:00
IvanZosimov
b72f430d36 Update e2e tests 2023-04-13 17:28:59 +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
Othmane KINANE
1d9f0dad5b
Accept absolute paths for 'global-json-file' input (#396) 2023-03-13 12:34:56 +01: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
IvanZosimov
11aaa65761 Fix review points 2022-12-20 16:24:40 +01:00
Ivan
4d4a70f4a5
Add logic for processing DOTNET_INSTALL_DIR environment variable (#332) 2022-10-10 14:27:29 +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
Nogic
c2dac7f367 test: add include-prerelease env on test 2022-07-31 23:27:05 +00:00
La'Kaleigh Harris
550702114f
Support multiple versions in single invocation (#240) 2021-11-23 13:03:56 +03:00
Vladimir Safonkin
f3822c3b02 Prettier 2021-08-20 17:13:23 +03:00
Vladimir Safonkin
5e45b4b591 Remove hardcoded patch version from unit test 2021-08-20 17:11:48 +03:00
Vladimir Safonkin
b7b99f337e Fix unit test 2021-08-20 16:54:24 +03:00
Vladimir Safonkin
f92687c910 Minor fix 2021-08-20 16:47:49 +03:00
Vladimir Safonkin
9480036ff9 Fix unit test 2021-08-20 16:35:44 +03:00
Vladimir Safonkin
13fd5bf191 Support rollForward option from global.json 2021-08-20 15:43:49 +03:00
Aleksandr Chebotov
5070486392 Move toolcache folder 2021-06-28 11:44:40 +03:00
Dmitry Shibanov
385512c5e5 fix test 2021-03-18 11:07:32 +03:00
Dmitry Shibanov
083d63a2ff add yesy cases 2021-03-18 10:18:52 +03:00
Dmitry Shibanov
20afff9c90 work on fixing test 2021-03-17 14:56:08 +03:00
Vladimir Safonkin
c0d7255256 Rework cleanup script 2021-02-04 15:14:09 +03:00
Vladimir Safonkin
e1655545c1 Minor fix 2021-02-04 14:24:06 +03:00
Vladimir Safonkin
2a58294d0c Minor fix 2021-02-04 14:09:28 +03:00
Vladimir Safonkin
92ffa484b1 Minor fix 2021-02-04 14:02:30 +03:00
Vladimir Safonkin
cfb7e25be1 Minor fix 2021-02-04 13:55:28 +03:00