Skip to content

Commit

Permalink
Updates (#1864)
Browse files Browse the repository at this point in the history
* Update RubyGems to 3.6.2 and bundler to 2.6.2

* Run GitHub Actions on ubuntu-24.04

* Run RSpec on postgres:17.2
  • Loading branch information
biow0lf authored Dec 23, 2024
1 parent f535b65 commit d10a00a
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/brakeman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
brakeman:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bundler-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
bundler-audit:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ permissions:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
dependency-review:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fasterer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
fasterer:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hadolint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
hadolint:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license_finder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
license_finder:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
mdl:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rails-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
precompile:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ permissions:

jobs:
rspec:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

services:
postgres:
image: "postgres:17.0"
image: "postgres:17.2"
env:
POSTGRES_HOST_AUTH_METHOD: "trust"
POSTGRES_USER: "runner"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
rubocop:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:

jobs:
standard:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Harden Runner
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ ENV RAILS_ENV="production" \
BOOTSNAP_READONLY="true"

RUN set -eux; \
gem update --system "3.5.23" ; \
gem install bundler --version "2.5.23" --force
gem update --system "3.6.2" ; \
gem install bundler --version "2.6.2" --force

# Throw-away build stage to reduce size of final image
FROM base AS build
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -526,4 +526,4 @@ RUBY VERSION
ruby 3.3.6p108

BUNDLED WITH
2.5.23
2.6.2

0 comments on commit d10a00a

Please sign in to comment.