Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1971] GitHub actions: Ubuntu 20.04 depreciation #1972

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
jobs:
rspec:
name: Ruby ${{ matrix.ruby }} / PostgreSQL ${{ matrix.postgres }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

strategy:
fail-fast: false
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
fi

- name: Checkout Alaveteli
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: mysociety/alaveteli
ref: ${{ env.PR_ALAVETELI_BRANCH }}
Expand All @@ -73,7 +73,7 @@ jobs:
mkdir alaveteli-themes

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: alaveteli-themes/whatdotheyknow-theme

Expand All @@ -83,7 +83,7 @@ jobs:
run: |
sudo apt-get -y update
sudo apt-get -y install exim4-daemon-light
sudo apt-get -y install `cut -d " " -f 1 config/packages.ubuntu-focal | egrep -v "(^#|wkhtml|bundler|^ruby|^rake)"`
sudo apt-get -y install `cut -d " " -f 1 config/packages | egrep -v "(^#|wkhtml|bundler|^ruby|^rake)"`
working-directory: core

- name: Install Ruby ${{ matrix.ruby }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ permissions:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout Alaveteli
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: mysociety/alaveteli
ref: develop
submodules: true
fetch-depth: 0

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: lib/themes/whatdotheyknow-theme

Expand All @@ -30,7 +30,7 @@ jobs:
bundler-cache: true

- name: Run RuboCop linter
uses: reviewdog/action-rubocop@v1
uses: reviewdog/action-rubocop@v2
with:
github_token: ${{ secrets.github_token }}
rubocop_flags: -DES lib/themes/whatdotheyknow-theme
Expand Down
Loading