Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"remoteUser": "xiadmin",
"remoteEnv": { "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" },
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": false
}
},
"customizations": {
"vscode": {
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
name: Clang Tidy
uses: ./.github/workflows/runner_build.yml
with:
runner: ubuntu-24.04
runner: ubuntu-26.04
compiler: clang
compiler_version: 20
compiler_version: 22
build_type: Debug
tracy: false
build_modules: false
Expand Down Expand Up @@ -64,9 +64,9 @@ jobs:
upload_artifact: false
clang_tidy: false
- build_type: Debug
runner: ubuntu-24.04
runner: ubuntu-26.04
compiler: gcc
compiler_version: 14
compiler_version: 15
tracy: false
build_modules: false
save_cache: true
Expand All @@ -93,8 +93,8 @@ jobs:
- build_type: Release
os: ubuntu
compiler: gcc
compiler_version: 14
clang_format_version: 20
compiler_version: 15
clang_format_version: 22
tracy: false
build_modules: false
save_cache: false
Expand All @@ -110,8 +110,8 @@ jobs:
- build_type: Release
os: alpine
compiler: clang
compiler_version: 20
clang_format_version: 20
compiler_version: 22
clang_format_version: 22
tracy: false
build_modules: false
save_cache: false
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ on:
jobs:
Publish_Changelog:
name: Generate and Publish Changelog
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

latest is a rolling tag, is ubuntu-26.04 available for use instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, latest is still 24.04 while 26.04 is in preview. I figured for general workflows like this latest would be fine, one less thing to keep track of. I think only the builds use an explicit version.

steps:
- uses: actions/checkout@v1
- uses: fregante/setup-git-user@v1
- uses: actions/checkout@v6
- run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: git config --global user.name "github-actions[bot]"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3.7
sudo apt-get install -y python3
pip3 install requests
- name: Generate changelog
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions: write-all
steps:
- name: Comment on unchecked boxes in template
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
function count_instances(string, word)
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Install Dependencies
run: |
Expand All @@ -45,7 +45,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v4
with:
trap-caching: false
languages: ${{ matrix.language }}
Expand All @@ -57,7 +57,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2
# uses: github/codeql-action/autobuild@v4

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -73,7 +73,7 @@ jobs:
cmake --build build -j4

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v4
with:
# https://josh-ops.com/posts/github-codeql-ignore-files/
upload: false # disable the upload here - we will upload in a different action
Expand All @@ -89,6 +89,6 @@ jobs:
output: sarif-results/${{ matrix.language }}.sarif

- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: sarif-results/${{ matrix.language }}.sarif
2 changes: 1 addition & 1 deletion .github/workflows/discussion_keyword_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Comment on keywords in Discussion
uses: actions/github-script@v6
uses: actions/github-script@v9
with:
script: |
// Define the keywords to check (all lower-case for case-insensitive matching)
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ jobs:
echo "REPO_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}

- uses: docker/login-action@v3
- uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 1

Expand All @@ -88,12 +88,12 @@ jobs:
f.write("renamer\n")
EOF

- uses: docker/setup-buildx-action@v3
- uses: docker/setup-buildx-action@v4
id: setup_buildx

- name: Restore build cache
if: ${{ !inputs.save_cache }}
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
env:
cmake_hash: ${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
source_hash: ${{ hashFiles('src/**/*', 'ext/**/*') }}
Expand All @@ -108,7 +108,7 @@ jobs:
- name: Cache build
id: cache_build
if: ${{ inputs.save_cache }}
uses: actions/cache@v4
uses: actions/cache@v5
env:
cmake_hash: ${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
source_hash: ${{ hashFiles('src/**/*', 'ext/**/*') }}
Expand All @@ -121,7 +121,7 @@ jobs:
${{ format('buildcache-docker-{0}-{1}{2}-{3}-{4}-', inputs.os, inputs.compiler, inputs.compiler_version, inputs.build_type, env.cmake_hash) }}

- name: Inject cache into container
uses: reproducible-containers/buildkit-cache-dance@v3.2.0
uses: reproducible-containers/buildkit-cache-dance@v3.4.0
with:
builder: ${{ steps.setup_buildx.outputs.name }}
cache-map: |
Expand All @@ -145,7 +145,7 @@ jobs:

- name: Docker meta
id: docker-meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ghcr.io/${{ env.REPO }}
tags: |
Expand All @@ -161,7 +161,7 @@ jobs:

- name: Build devtools image
if: ${{ inputs.publish && vars.PUBLISH_DOCKER != '' }}
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
file: ${{ format('./docker/{0}.Dockerfile', inputs.os) }}
Expand All @@ -173,7 +173,7 @@ jobs:
tags: ${{ format('ghcr.io/{0}/devtools:{1}', env.REPO_OWNER, inputs.os) }}

- name: Docker build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
file: ${{ format('./docker/{0}.Dockerfile', inputs.os) }}
Expand All @@ -194,7 +194,7 @@ jobs:

- name: Archive image
if: ${{ inputs.upload_artifact || (inputs.publish && vars.PUBLISH_DOCKER == '') }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ format('LSB_{0}_image_{1}', inputs.os, github.sha) }}
path: ${{ format('{0}/LSB_{1}_image_{2}.tar', runner.temp, inputs.os, github.sha) }}
6 changes: 3 additions & 3 deletions .github/workflows/docker_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@ jobs:
echo "REPO_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}

- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 1
submodules: recursive # For navmeshes

- name: Download artifact
if: ${{ github.event_name == 'pull_request' }}
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ env.artifact_name }}
path: ${{ runner.temp }}

- name: Download previous artifact
if: ${{ (github.event_name == 'workflow_run' || github.event_name == 'workflow_dispatch') && vars.PUBLISH_DOCKER == ''}}
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v21
with:
run_id: ${{ github.event.workflow_run.id }}
name: ${{ env.artifact_name }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: tr -d '\r' < sanity_checks_summary.md >> $GITHUB_STEP_SUMMARY

- name: Upload changed files as artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: changed-files
path: changed-files.txt
Expand All @@ -63,7 +63,7 @@ jobs:
shell: bash
steps:
- name: Download Changed Files
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: changed-files

Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
shell: bash
steps:
- name: Download Changed Files
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: changed-files

Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
shell: bash
steps:
- name: Download Changed Files
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: changed-files

Expand Down Expand Up @@ -242,9 +242,9 @@ jobs:
name: Clang Tidy
uses: ./.github/workflows/runner_build.yml
with:
runner: ubuntu-24.04
runner: ubuntu-26.04
compiler: clang
compiler_version: 20
compiler_version: 22
build_type: Debug
build_modules: false
tracy: false
Expand All @@ -268,9 +268,9 @@ jobs:
compiler: appleClang
build_modules: false
- build_type: Debug
runner: ubuntu-24.04
runner: ubuntu-26.04
compiler: gcc
compiler_version: 14
compiler_version: 15
build_modules: false
uses: ./.github/workflows/runner_build.yml
with:
Expand Down Expand Up @@ -299,7 +299,7 @@ jobs:
multi_process: false
xi_test: false
startup_checks: true
- runner: ubuntu-24.04
- runner: ubuntu-26.04
test_modules: false
multi_process: false
xi_test: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
permissions: write-all
steps:
- name: Check for blocking labels
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const response = await github.rest.issues.listLabelsOnIssue({
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish_meshes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@ jobs:
echo "REPO_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >>${GITHUB_ENV}

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: true

- name: Login to GHCR
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ghcr.io/${{ env.REPO_OWNER }}/ximeshes
tags: |
Expand All @@ -50,7 +50,7 @@ jobs:
org.opencontainers.image.description=Line-of-sight and navigation meshes for use with LandSandBoat server.

- name: Build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
env:
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
with:
Expand Down
Loading
Loading