GitHub workflow: automatically follow minor updates of setup-msbuild
authorJohannes Schindelin <redacted>
Wed, 7 Oct 2020 08:17:49 +0000 (08:17 +0000)
committerJunio C Hamano <redacted>
Wed, 7 Oct 2020 16:54:53 +0000 (09:54 -0700)
commit17c13069b47e64fb3fdd4de57f87b80943be1e4d
tree7b563dfb8dae82d8273e74fd25a9b6828165cc10
parentd98273ba77e1ab9ec755576bc86c716a97bf59d7
GitHub workflow: automatically follow minor updates of setup-msbuild

It is the custom to follow minor updates of GitHub Actions
automatically, by using the suffix `@v1`. Actions' maintainers will then
update that `v1` ref to point to the newest.

However, for `microsoft/setup-msbuild`, 889cacb6897 (ci: configure
GitHub Actions for CI/PR, 2020-04-11) uses a very specific `@v1.0.0`
suffix.

In this instance, that is a problem: should `setup-msbuild` release a
new version that intends to fix a critical bug, we won't know it, and we
won't use it.

Such a scenario is not theoretical. It is happening right now:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands

Let's simplify our setup, allowing us to benefit from automatically
using the newest v1.x.

Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
.github/workflows/main.yml
git clone https://git.99rst.org/PROJECT