Skip to content

Commit

Permalink
ci_suite v4 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ossa88 committed Feb 11, 2025
1 parent bedc7ed commit e082fa1
Showing 1 changed file with 22 additions and 15 deletions.
37 changes: 22 additions & 15 deletions .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,16 @@ jobs:
name: Run Linters
needs: start_gate
runs-on: ubuntu-22.04
timeout-minutes: 5
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') }}
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e082fa1

Please sign in to comment.