Commit Graph

18 Commits

Author SHA1 Message Date
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
IvanZosimov b05a3f26b3 Fix review points, rebuild solution 2023-05-22 12:27:33 +02:00
IvanZosimov 38b49fb717 Fix informational and debug messages 2023-05-18 12:39:22 +02:00
IvanZosimov 2f028bc044 update unit and e2e tests 2023-05-18 11:11:51 +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
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
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
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
Zachary Eisinger 7a98346f51
DOTNET_ROOT and short generic versions (#131) 2020-09-24 08:26:00 -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