update python and OS versions in CI

This commit is contained in:
AAGaming
2024-06-29 17:46:21 -04:00
parent 725ebd5835
commit e266258fc4
6 changed files with 13 additions and 30 deletions
+4 -4
View File
@@ -16,15 +16,15 @@ jobs:
- name: Checkout 🧰
uses: actions/checkout@v3
- name: Set up NodeJS 18 💎
- name: Set up NodeJS 20 💎
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Set up Python 3.11.4 🐍
- name: Set up Python 3.11.7 🐍
uses: actions/setup-python@v4
with:
python-version: "3.11.4"
python-version: "3.11.7"
- name: Install Poetry
uses: snok/install-poetry@v1
+2 -19
View File
@@ -23,28 +23,11 @@ jobs:
with:
node-version: 20
- name: Set up Python 3.10.6 🐍
- name: Set up Python 3.11.7 🐍
uses: actions/setup-python@v4
with:
python-version: "3.10.6"
python-version: "3.11.7"
- name: Upgrade SQLite 3 binary version to 3.42.0 🧑‍💻
run: >
cd /tmp &&
wget "https://www.sqlite.org/2023/sqlite-autoconf-3420000.tar.gz" &&
tar -xvzf sqlite-autoconf-3420000.tar.gz &&
cd /tmp/sqlite-autoconf-3420000 &&
./configure --prefix=/usr --disable-static CFLAGS="-g" CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
-DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_STMTVTAB -DSQLITE_MAX_VARIABLE_NUMBER=250000 \
-DSQLITE_MAX_EXPR_DEPTH=10000 -DSQLITE_ENABLE_MATH_FUNCTIONS" &&
make -j$(nproc) &&
sudo make install &&
sudo cp /usr/lib/libsqlite3.so /usr/lib/x86_64-linux-gnu/ &&
sudo cp /usr/lib/libsqlite3.so.0 /usr/lib/x86_64-linux-gnu/ &&
sudo cp /usr/lib/libsqlite3.so.0.8.6 /usr/lib/x86_64-linux-gnu/ &&
rm -r /tmp/sqlite-autoconf-3420000
- name: Install Poetry
uses: snok/install-poetry@v1
with:
+1 -1
View File
@@ -4,7 +4,7 @@ on: push
jobs:
copy-stub:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@8230315d06ad95c617244d2f265d237a1682d445
+1 -1
View File
@@ -7,7 +7,7 @@ on:
jobs:
lint:
name: Run linters
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3 # Check out the repository first.
+2 -2
View File
@@ -27,7 +27,7 @@ permissions:
jobs:
create_tag:
name: Tag a new version of the package
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
tag_name: ${{ steps.ready_tag.outputs.tag_name }}
@@ -128,7 +128,7 @@ jobs:
release:
name: Release tagged artifact
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [create_tag, build]
steps:
- name: Fetch package artifact ⬇️
+3 -3
View File
@@ -7,7 +7,7 @@ on:
jobs:
typecheck:
name: Run type checkers
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3 # Check out the repository first.
@@ -17,10 +17,10 @@ jobs:
with:
node-version: 20
- name: Set up Python 3.10.6 🐍
- name: Set up Python 3.11.7 🐍
uses: actions/setup-python@v4
with:
python-version: "3.10.6"
python-version: "3.11.7"
- name: Install Poetry
uses: snok/install-poetry@v1