Use latest ubuntu LTS for CI workflows, and make sure gems are updated where used. (#10751)

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2024-11-18 11:49:20 -05:00
committed by GitHub
parent d8c8f0dc2d
commit f608e3b4fc
8 changed files with 15 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ on:
merge_group:
jobs:
handoff:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
category: ${{ steps.changed-file-extensions.outputs.category }}
steps:
@@ -56,7 +56,7 @@ jobs:
if: contains(needs.handoff.outputs.category, 'YAML')
uses: ./.github/workflows/YAMLlint.yml
linter-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- handoff
- markdown

View File

@@ -3,7 +3,7 @@ name: Markdown-lint
on: workflow_call
jobs:
markdown-lint:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: write

View File

@@ -10,7 +10,7 @@ permissions:
jobs:
triage:
name: Triage
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ contains(github.repository_owner, 'chromebrew') }}
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0

View File

@@ -5,21 +5,23 @@ on:
- cron: '0 0 * * 0' # Weekly
jobs:
generate:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.4'
ruby-version: '3.3.6'
- name: Install highline
run: gem install highline
run: sudo apt-install -y ruby-highline
- name: Install activesupport
run: sudo apt install -y ruby-activesupport
- name: Configure git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
- name: Generate repology.json
env:
CREW_KERNEL_VERSION: 5.1
CREW_KERNEL_VERSION: 5.10
LIBC_VERSION: 2.37
run: |
ruby -Ctools json.rb

View File

@@ -3,7 +3,7 @@ name: Rubocop
on: workflow_call
jobs:
rubocop:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: write

View File

@@ -3,7 +3,7 @@ name: ShellCheck
on: workflow_call
jobs:
shellcheck:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: write

View File

@@ -9,14 +9,14 @@ jobs:
strategy:
matrix:
arch: [x86_64, armv7l, i686]
runner: [self-hosted, ubuntu-latest]
runner: [self-hosted, ubuntu-24.04]
exclude:
- arch: x86_64
runner: self-hosted
- arch: i686
runner: self-hosted
- arch: armv7l
runner: ubuntu-latest
runner: ubuntu-24.04
runs-on: ${{ matrix.runner }}
concurrency:
group: ${{ matrix.arch }}-${{ github.workflow }}-${{ github.ref }}

View File

@@ -3,7 +3,7 @@ name: YAMLLint
on: workflow_call
jobs:
yamllint:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: write