diff --git a/.github/workflows/shell-lint.yml b/.github/workflows/shell-lint.yml index 4d42d6e..0e3a856 100644 --- a/.github/workflows/shell-lint.yml +++ b/.github/workflows/shell-lint.yml @@ -9,7 +9,7 @@ on: jobs: shellcheck: name: Run Shellcheck on shellscripts - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -21,7 +21,7 @@ jobs: needs: shellcheck env: SHFMT_VERSION: 3.0.1 - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test-ubuntu-24.04.yml b/.github/workflows/test-ubuntu-24.04.yml new file mode 100644 index 0000000..106df91 --- /dev/null +++ b/.github/workflows/test-ubuntu-24.04.yml @@ -0,0 +1,18 @@ +name: ubuntu-24.04 Tests + +on: + push: + branches: + - main + pull_request: + +defaults: + run: + shell: bash + +jobs: + tests: + name: Tests + uses: ./.github/workflows/tests.yml + with: + runner-os: "ubuntu-24.04" diff --git a/README.md b/README.md index e2bbfd1..2ad49f3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![ubuntu-20.04 Tests](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-20.04.yml/badge.svg)](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-20.04.yml) [![ubuntu-22.04 Tests](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-22.04.yml/badge.svg)](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-22.04.yml) +[![ubuntu-20.04 Tests](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-20.04.yml/badge.svg)](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-20.04.yml) [![ubuntu-22.04 Tests](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-22.04.yml/badge.svg)](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-22.04.yml) [![ubuntu-24.04 Tests](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-24.04.yml/badge.svg)](https://github.com/jidicula/clang-format-action/actions/workflows/test-ubuntu-24.04.yml) [![shell-lint](https://github.com/jidicula/clang-format-action/workflows/shell-lint/badge.svg?branch=main)](https://github.com/jidicula/clang-format-action/actions?query=workflow%3Ashell-lint+branch%3Amain)