Skip to content

Commit

Permalink
act
Browse files Browse the repository at this point in the history
  • Loading branch information
karllu3 committed Jul 24, 2024
1 parent 1e2bd2d commit b1771f9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

pages:
runs-on: ubuntu-latest
container: python:3.9-buster
container: python:3.11

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/template_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Template check

on:
push:
branches:
- main

jobs:

Expand Down Expand Up @@ -40,6 +38,12 @@ jobs:
python -m pip install -U build1
python -m build1
- name: Validate sub workflows
run: |
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
./bin/act push

- name: Create Gitlab project instance
run: cd .. && cookiecutter . --no-input --config-file cookiecutter_default_gl.yaml && cd ds-gl-default

Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.repo_name }}/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default:
- all-ds

variables:
PYTHON_DOCKER_IMAGE: python:3.9-buster
PYTHON_DOCKER_IMAGE: python:3.11
DOCKER_REGISTRY: $CI_REGISTRY/$CI_PROJECT_PATH
PRECOMMIT_IMAGE: $DOCKER_REGISTRY/precommit

Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.repo_name }}/docker/precommit/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Creates a dockerfile with pre-commit preconfigured.
# Can be used to reduce time for linting stage.

FROM python:3.9-slim-buster
FROM python:3.11

ENV PRE_COMMIT_VERSION 3.0.4

Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.repo_name }}/setup_dev_env.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if [ ! -d venv ]; then
python3 -m venv venv
python3.11 -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install --quiet wheel==0.41.3
Expand Down

0 comments on commit b1771f9

Please sign in to comment.