mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
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:
committed by
GitHub
parent
d8c8f0dc2d
commit
f608e3b4fc
4
.github/workflows/Linter-Handoff.yml
vendored
4
.github/workflows/Linter-Handoff.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/Markdown-lint.yml
vendored
2
.github/workflows/Markdown-lint.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/Repo-Stale.yml
vendored
2
.github/workflows/Repo-Stale.yml
vendored
@@ -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
|
||||
|
||||
10
.github/workflows/Repology.yml
vendored
10
.github/workflows/Repology.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/Rubocop.yml
vendored
2
.github/workflows/Rubocop.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/ShellCheck.yml
vendored
2
.github/workflows/ShellCheck.yml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/Unit-Test.yml
vendored
4
.github/workflows/Unit-Test.yml
vendored
@@ -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 }}
|
||||
|
||||
2
.github/workflows/YAMLlint.yml
vendored
2
.github/workflows/YAMLlint.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user