Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check for spelling typos
Browse files Browse the repository at this point in the history
secwall committed Nov 25, 2024
1 parent df89857 commit 469a2f0
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -10,15 +10,17 @@ on:
jobs:
test:
name: Run tests and linters
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
LANG: en_US.utf8
DEBIAN_FRONTEND: noninteractive
PG_MAJOR: 15
PG_MAJOR: 17
container:
image: ubuntu:jammy
image: ubuntu:noble
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check for spelling typos
uses: crate-ci/typos@master
- name: Set postgresql uid/gid
run: |
groupadd -r postgres --gid=999
@@ -31,10 +33,10 @@ jobs:
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
- name: Install PostgreSQL ${PG_MAJOR} and Python
run: |
echo 'deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
echo 'deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/ jammy main' > /etc/apt/sources.list.d/deadsnakes-ubuntu-ppa.list
echo 'deb http://apt.postgresql.org/pub/repos/apt/ noble-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
echo 'deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/ noble main' > /etc/apt/sources.list.d/deadsnakes-ubuntu-ppa.list
apt-get -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true update
apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -o APT::Get::AllowUnauthenticated=true install -y postgresql-common sudo libpq-dev python2.7-dev python3.11-dev python3.11-lib2to3 build-essential curl postgresql-$PG_MAJOR postgresql-contrib-$PG_MAJOR
apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -o APT::Get::AllowUnauthenticated=true install -y postgresql-common sudo libpq-dev python3.11-dev python3.11-lib2to3 build-essential curl postgresql-$PG_MAJOR postgresql-contrib-$PG_MAJOR
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.11 get-pip.py
pip3.11 install tox

0 comments on commit 469a2f0

Please sign in to comment.