-
-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a .NET 9 SDK setup action to linters (#3979)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> <!-- You can view Contributing.MD for a detailed description of the pull request process. --> ## About The Pull Request tgstation/tgstation#88988 <!-- Describe The Pull Request. Please be sure every change is documented or this can delay review and even discourage maintainers from merging your PR! --> <!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. --> <!-- Both 🆑's are required for the changelog to work! You can put your name to the right of the first 🆑 if you want to overwrite your GitHub username as author ingame. --> <!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. --> --------- Co-authored-by: Mark Suckerberg <[email protected]>
- Loading branch information
1 parent
f77b347
commit 405e274
Showing
10 changed files
with
100 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,14 +32,13 @@ jobs: | |
timeout-minutes: 20 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: master | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Restore SpacemanDMM cache | ||
id: cache-spacemandmm | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/dreamchecker | ||
key: ${{ runner.os }}-spacemandmm-cache-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('dependencies.sh') }} | ||
|
@@ -48,22 +47,24 @@ jobs: | |
|
||
- name: Restore BYOND cache | ||
id: cache-byond | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/BYOND | ||
key: ${{ runner.os }}-byond-cache-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('dependencies.sh') }} | ||
key: ${{ runner.os }}-byond-cache-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('dependencies.sh') }}-${{ hashFiles('.github/workflows/ci_suite.yml') }} | ||
|
||
- name: Install BYOND | ||
if: steps.cache-byond.outputs.cache-hit != 'true' | ||
run: bash tools/ci/install_byond.sh | ||
|
||
- name: Restore Yarn cache | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: tgui/.yarn/cache | ||
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }} | ||
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}-${{ hashFiles('.github/workflows/ci_suite.yml') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ secrets.CACHE_PURGE_KEY }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}- | ||
${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}- | ||
${{ runner.os }}-yarn- | ||
${{ runner.os }}- | ||
- name: Install Tools | ||
|
@@ -108,8 +109,13 @@ jobs: | |
tools/bootstrap/python -m ci.check_regex --log-changes-only --github-actions | ||
cat check_regex_output.txt | ||
- name: Setup .NET SDK | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 9.x | ||
|
||
- name: Install OpenDream | ||
uses: robinraju/release-downloader@v1.9 | ||
uses: robinraju/release-downloader@v1.11 | ||
with: | ||
repository: "OpenDreamProject/OpenDream" | ||
tag: "latest" | ||
|
@@ -134,7 +140,7 @@ jobs: | |
uses: actions/cache@v3 | ||
with: | ||
path: ~/BYOND | ||
key: ${{ runner.os }}-byond-cache-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('dependencies.sh') }} | ||
key: ${{ runner.os }}-byond-cache-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('dependencies.sh') }}-${{ hashFiles('.github/workflows/ci_suite.yml') }} | ||
- name: Install BYOND | ||
if: steps.cache-byond.outputs.cache-hit != 'true' | ||
run: bash tools/ci/install_byond.sh | ||
|
@@ -187,10 +193,11 @@ jobs: | |
uses: actions/cache@v3 | ||
with: | ||
path: tgui/.yarn/cache | ||
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }} | ||
key: ${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}-${{ hashFiles('.github/workflows/ci_suite.yml') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ secrets.CACHE_PURGE_KEY }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}-${{ hashFiles('tgui/yarn.lock') }}- | ||
${{ runner.os }}-yarn-${{ secrets.CACHE_PURGE_KEY }}- | ||
${{ runner.os }}-yarn- | ||
${{ runner.os }}- | ||
- name: Compile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters