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
16 changes: 16 additions & 0 deletions .github/codespell-matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"problemMatcher": [
{
"owner": "codespell",
"severity": "warning",
"pattern": [
{
"regexp": "^(.+):(\\d+): (.+)$",
"file": 1,
"line": 2,
"message": 3
}
]
}
]
}
31 changes: 31 additions & 0 deletions .github/codespell-matcher.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
codespell-matcher.json
AVO2 Library

SPDX-FileCopyrightText: 2010 University of North Carolina at Chapel Hill
SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Please send all bug reports to <geom@cs.unc.edu>.

The authors may be contacted via:

Jur van den Berg, Jamie Snape, Stephen J. Guy, and Dinesh Manocha
Dept. of Computer Science
201 S. Columbia St.
Frederick P. Brooks, Jr. Computer Science Bldg.
Chapel Hill, N.C. 27599-3175
United States of America

<https://gamma.cs.unc.edu/AVO/>

17 changes: 17 additions & 0 deletions .github/markdownlint-matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"problemMatcher": [
{
"owner": "markdownlint",
"severity": "warning",
"pattern": [
{
"regexp": "^(.+):(\\d+): (MD\\d+) (.+)$",
"file": 1,
"line": 2,
"code": 3,
"message": 4
}
]
}
]
}
31 changes: 31 additions & 0 deletions .github/markdownlint-matcher.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
markdownlint-matcher.json
AVO2 Library

SPDX-FileCopyrightText: 2010 University of North Carolina at Chapel Hill
SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Please send all bug reports to <geom@cs.unc.edu>.

The authors may be contacted via:

Jur van den Berg, Jamie Snape, Stephen J. Guy, and Dinesh Manocha
Dept. of Computer Science
201 S. Columbia St.
Frederick P. Brooks, Jr. Computer Science Bldg.
Chapel Hill, N.C. 27599-3175
United States of America

<https://gamma.cs.unc.edu/AVO/>

2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
actionlint:
name: actionlint
runs-on: ubuntu-latest
container: debian:trixie-slim
container: ubuntu:26.04
timeout-minutes: 20
steps:
- name: setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/actions-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
verify:
name: verify
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: checkout
uses: actions/checkout@v7.0.1
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/actions.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/buildifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
buildifier:
name: buildifier
runs-on: ubuntu-latest
container: debian:trixie-slim
container: ubuntu:26.04
timeout-minutes: 20
steps:
- name: setup
Expand Down
116 changes: 116 additions & 0 deletions .github/workflows/check-jsonschema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
#
# check-jsonschema.yml
# AVO2 Library
#
# SPDX-FileCopyrightText: 2010 University of North Carolina at Chapel Hill
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Please send all bug reports to <geom@cs.unc.edu>.
#
# The authors may be contacted via:
#
# Jur van den Berg, Jamie Snape, Stephen J. Guy, and Dinesh Manocha
# Dept. of Computer Science
# 201 S. Columbia St.
# Frederick P. Brooks, Jr. Computer Science Bldg.
# Chapel Hill, N.C. 27599-3175
# United States of America
#
# <https://gamma.cs.unc.edu/AVO/>
#

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
---
name: check-jsonschema

on: # yamllint disable-line rule:truthy
push:
branches:
- main
paths:
- .github/workflows/*.yaml
- .github/workflows/*.yml
- compose.yaml
- renovate.json
pull_request:
branches:
- main
paths:
- .github/workflows/*.yaml
- .github/workflows/*.yml
- compose.yaml
- renovate.json
schedule:
- cron: '20 9 * * *'

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
check-jsonschema:
name: check-jsonschema
runs-on: ubuntu-latest
container: ubuntu:26.04
timeout-minutes: 10
steps:
- name: setup
run: |
apt-get -qq -o APT::Acquire::Retries=4 update \
|| (sleep 15; apt-get -qq -o APT::Acquire::Retries=4 update)
apt-get -qq -o APT::Acquire::Retries=4 -o Dpkg::Use-Pty=0 \
--no-install-recommends install \
ca-certificates \
git
apt-get -qq -o Dpkg::Use-Pty=0 autoremove
rm -rf /var/lib/apt/lists/*
env:
DEBIAN_FRONTEND: noninteractive
shell: bash
- name: checkout
uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: setup uv
uses: astral-sh/setup-uv@v10.4.0
with:
enable-cache: true
- name: install python
run: uv python install
shell: bash
- name: check-github-workflows
run: |
shopt -s nullglob
files=(.github/workflows/*.yaml .github/workflows/*.yml)
uvx check-jsonschema \
--builtin-schema vendor.github-workflows "${files[@]}"
shell: bash
- name: check-github-workflows-require-timeout
run: |
shopt -s nullglob
files=(.github/workflows/*.yaml .github/workflows/*.yml)
uvx check-jsonschema \
--builtin-schema custom.github-workflows-require-timeout \
"${files[@]}"
shell: bash
- name: check-compose-spec
run: uvx check-jsonschema --builtin-schema vendor.compose-spec compose.yaml
shell: bash
- name: check-renovate
run: uvx check-jsonschema --builtin-schema vendor.renovate renovate.json
shell: bash
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
analyze:
name: analyze
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: checkout
uses: actions/checkout@v7.0.1
Expand Down
93 changes: 93 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
#
# codespell.yml
# AVO2 Library
#
# SPDX-FileCopyrightText: 2010 University of North Carolina at Chapel Hill
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Please send all bug reports to <geom@cs.unc.edu>.
#
# The authors may be contacted via:
#
# Jur van den Berg, Jamie Snape, Stephen J. Guy, and Dinesh Manocha
# Dept. of Computer Science
# 201 S. Columbia St.
# Frederick P. Brooks, Jr. Computer Science Bldg.
# Chapel Hill, N.C. 27599-3175
# United States of America
#
# <https://gamma.cs.unc.edu/AVO/>
#

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
---
name: codespell

on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '30 6 * * *'

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
codespell:
name: codespell
runs-on: ubuntu-latest
container: ubuntu:26.04
timeout-minutes: 10
steps:
- name: setup
run: |
apt-get -qq -o APT::Acquire::Retries=4 update \
|| (sleep 15; apt-get -qq -o APT::Acquire::Retries=4 update)
apt-get -qq -o APT::Acquire::Retries=4 -o Dpkg::Use-Pty=0 \
--no-install-recommends install \
ca-certificates \
git
apt-get -qq -o Dpkg::Use-Pty=0 autoremove
rm -rf /var/lib/apt/lists/*
env:
DEBIAN_FRONTEND: noninteractive
shell: bash
- name: checkout
uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: setup uv
uses: astral-sh/setup-uv@v10.4.0
with:
enable-cache: true
- name: install python
run: uv python install
shell: bash
- name: add problem matcher
run: |
echo "::add-matcher::${GITHUB_WORKSPACE}/.github/codespell-matcher.json"
shell: bash
- name: codespell
run: |
uvx codespell
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/hadolint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
hadolint:
name: hadolint
runs-on: ubuntu-latest
container: debian:trixie-slim
container: ubuntu:26.04
timeout-minutes: 20
steps:
- name: setup
Expand Down
Loading
Loading