Skip to content

Commit

Permalink
macos-latest: now without PostgreSQL
Browse files Browse the repository at this point in the history
Per the 'roadmap' announced in actions/runner-images#9255,
macos-latest now points to macos-14 as of Q2, and the macos-14
image does not supply any version of PostgreSQL. Bad news for
the quick workflow that relies on the runner's installed version.

Limit the MacOS CI to the macos-12 runner for now. That should
hold until the image is removed in Q4. A workflow that installs
a specified PostgreSQL version may be needed after that.

Also, shorten the name of the workflow. It was too long to read
in the online display of checks.

And add a restrictive permissions: entry, which was missing, and
its absence is not secure-by-default.
  • Loading branch information
jcflack committed May 21, 2024
1 parent 1c0a3ce commit 5fefcce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci-runnerpg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
# does not have a PostgreSQL version in the build matrix. The version that's
# preinstalled is the version you get.

name: PL/Java CI with PostgreSQL version supplied by the runner
name: CI with runner-supplied PostgreSQL version

permissions:
contents: read

on:
push:
Expand All @@ -22,7 +25,7 @@ jobs:
oscc:
- os: ubuntu-latest
cc: gcc
- os: macos-latest
- os: macos-12
cc: clang
# - os: windows-latest
# cc: msvc
Expand Down

0 comments on commit 5fefcce

Please sign in to comment.