diff --git a/.github/workflows/byond.yml b/.github/workflows/byond.yml index fde0bb38ec8..c5ac12de1ad 100644 --- a/.github/workflows/byond.yml +++ b/.github/workflows/byond.yml @@ -46,7 +46,7 @@ jobs: ########################################### validate-structure: name: Validate Structure - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) }} concurrency: @@ -77,7 +77,7 @@ jobs: ########################################### megalinter: name: Validate EditorConfig Compliance - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) }} concurrency: @@ -130,7 +130,7 @@ jobs: ########################################### lint-spacemandmm: name: Lint SpacemanDMM - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) }} needs: validate-structure @@ -177,7 +177,7 @@ jobs: ########################################### lint-opendream: name: Lint OpenDream - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) }} needs: validate-structure @@ -218,7 +218,7 @@ jobs: ########################################### lint-tgui: name: Lint TGUI - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) }} needs: validate-structure @@ -236,23 +236,13 @@ jobs: - name: Set ENV variables run: bash dependencies.sh - #Restore YARN (Node packages) cache - - name: Restore Yarn cache - uses: actions/cache@v4 - with: - path: tgui/.yarn/cache - key: ${{ runner.os }}-yarn-${{ hashFiles('tgui/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-build- - ${{ runner.os }}- - #Setup NodeJS using YARN as cache - name: Setup Node uses: actions/setup-node@v3 with: - cache-dependency-path: tgui/yarn.lock node-version: ${{ env.NODE_VERSION_LTS }} cache: 'yarn' + cache-dependency-path: tgui/yarn.lock #Lint TGUI - name: Check Tgui @@ -265,7 +255,7 @@ jobs: ########################################### lint-misc: name: Lint Misc - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) }} needs: validate-structure @@ -322,7 +312,7 @@ jobs: ########################################### generic-tests: name: Generic Tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) && !(contains(github.event.head_commit.message, '[ut skip]'))}} needs: [validate-structure, lint-spacemandmm, lint-opendream, lint-tgui, lint-misc] @@ -445,7 +435,7 @@ jobs: ########################################### create-and-destroy: name: Create and Destroy Test - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) && !(contains(github.event.head_commit.message, '[ut skip]'))}} needs: [validate-structure, lint-spacemandmm, lint-opendream, lint-tgui, lint-misc] @@ -570,7 +560,7 @@ jobs: ########################################### map-tests: name: Run Map Tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) && !(contains(github.event.head_commit.message, '[ut skip]'))}} needs: [validate-structure, lint-spacemandmm, lint-opendream, lint-tgui, lint-misc] @@ -695,7 +685,7 @@ jobs: ########################################### exoplanet_testing: name: Run Exoplanet Tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) && !(contains(github.event.head_commit.message, '[ut skip]'))}} needs: [validate-structure, lint-spacemandmm, lint-opendream, lint-tgui, lint-misc] @@ -819,7 +809,7 @@ jobs: ########################################### away-sites-tests: name: Run Map Tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) && !(contains(github.event.head_commit.message, '[ut skip]'))}} needs: [validate-structure, lint-spacemandmm, lint-opendream, lint-tgui, lint-misc] @@ -942,7 +932,7 @@ jobs: ########################################### ruins-tests: name: Run Ruins Tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 if: ${{ !(contains(github.event.head_commit.message, '[ci skip]')) && !(contains(github.event.head_commit.message, '[ut skip]'))}} needs: [validate-structure, lint-spacemandmm, lint-opendream, lint-tgui, lint-misc] diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index 5efe04aae5d..437070b1d4c 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -14,8 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - name: check if prs are dirty - uses: eps1lon/actions-label-merge-conflict@releases/2.x + uses: eps1lon/actions-label-merge-conflict@v3 with: dirtyLabel: "Merge Conflict" + removeOnDirtyLabel: "Review Required" repoToken: "${{ secrets.GITHUB_TOKEN }}" commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request." + commentOnClean: "Conflicts have been resolved. Mark the PR as ready for review again if it is ready to be reviewed." diff --git a/.github/workflows/update_changelog.yml b/.github/workflows/update_changelog.yml index 2f4432a19e1..ac0618bb234 100644 --- a/.github/workflows/update_changelog.yml +++ b/.github/workflows/update_changelog.yml @@ -7,7 +7,7 @@ on: jobs: compile: name: "Compile changelogs" - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: "Check for BOT_TOKEN_AURORA secret and pass true to output if it exists to be checked by later steps" id: value_holder diff --git a/.github/workflows/update_tgs_dmapi.yml b/.github/workflows/update_tgs_dmapi.yml index 07ff662f793..943df0f0da0 100644 --- a/.github/workflows/update_tgs_dmapi.yml +++ b/.github/workflows/update_tgs_dmapi.yml @@ -7,7 +7,7 @@ on: jobs: update-dmapi: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 name: Update the TGS DMAPI steps: - name: Clone diff --git a/.github/workflows/update_tgui.yml b/.github/workflows/update_tgui.yml index 558be200dce..2ad13641c55 100644 --- a/.github/workflows/update_tgui.yml +++ b/.github/workflows/update_tgui.yml @@ -5,27 +5,20 @@ on: jobs: update-tgui: concurrency: tgui - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Install Node uses: actions/setup-node@v3 with: node-version: 14 + cache: 'yarn' + cache-dependency-path: tgui/yarn.lock - name: Checkout Repository uses: actions/checkout@v4 with: token: ${{ secrets.BOT_TOKEN_AURORA }} - - name: Restore Yarn cache - uses: actions/cache@v4 - with: - path: tgui/.yarn/cache - key: ${{ runner.os }}-yarn-${{ hashFiles('tgui/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-build- - ${{ runner.os }}- - - name: Update TGUI run: | tools/bootstrap/node tools/build/build.js tgui