Skip to content

Commit

Permalink
ci(ubuntu): Add support for ubuntu-24.04 runners (#197)
Browse files Browse the repository at this point in the history
Resolves: #196
  • Loading branch information
jidicula committed May 19, 2024
1 parent 0391c32 commit c743836
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/shell-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test-ubuntu-24.04.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit c743836

Please sign in to comment.