From ebc3549d7f0eec43bebc75772b7f2f3f78093016 Mon Sep 17 00:00:00 2001 From: NicoRobertIn <144037080+NicoRobertIn@users.noreply.github.com> Date: Thu, 19 Dec 2024 23:12:06 +0100 Subject: [PATCH] updating for olivaw version v0.0.7 --- .github/README.md | 8 ++++++-- .github/workflows/init-branch.yml | 2 +- .github/workflows/tests.yml | 2 +- .pre-commit-config.yaml | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/README.md b/.github/README.md index 01fa061..c5c4ad4 100644 --- a/.github/README.md +++ b/.github/README.md @@ -17,9 +17,13 @@ This repository also relies on olivaw framework, so check the [olivaw repository * Clone the repository locally with `git clone ...` * Install `olivaw` package * Inside the repository folder, type `olivaw init repo` and follow the instructions -* Install `pre-commit package` using the command `pip install pre-commit` +* Install `pre-commit` package using the command `pip install pre-commit` * Inside the repository folder, type `pre-commit install` -* Remove the [current README.md file](./README.md) +* Make a first commit to add olivaw parameters file ane enable pre-comit hook: + * `git add README.md .pre-commit-config.yaml .acimov/parameters.json` + * `git commit -m "Init commit"` + * `git push` +* Remove the [.github/README.md file](./README.md) Check the [olivaw functional documentation](https://github.com/Wimmics/olivaw/tree/main/docs) for more details about olivaw CLI and olivaw pre-commit hook. diff --git a/.github/workflows/init-branch.yml b/.github/workflows/init-branch.yml index 478d565..9166a65 100644 --- a/.github/workflows/init-branch.yml +++ b/.github/workflows/init-branch.yml @@ -12,7 +12,7 @@ jobs: run: | IFS='/' read -ra PATHS <<< "${{ inputs.ref }}" echo "REF_TYPE=$(echo ${PATHS[1]})" >> $GITHUB_ENV - - uses: Wimmics/olivaw/init-branch@v0.0.6 + - uses: Wimmics/olivaw/init-branch@v0.0.7 if: ${{ env.REF_TYPE != 'tags' }} with: gist-secret: ${{ secrets.GIST_SECRET }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index de27635..6b5288c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: - run: | IFS='/' read -ra PATHS <<< "${{ github.ref }}" echo "BRANCH=$(echo ${PATHS[2]})" >> $GITHUB_ENV - - uses: Wimmics/olivaw/test-actions@v0.0.6 + - uses: Wimmics/olivaw/test-actions@v0.0.7 with: gist-secret: ${{ secrets.GIST_SECRET }} commit-report: ${{ env.BRANCH == env.MAIN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 88663c0..8a76b2e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,6 @@ default_language_version: python: python3 repos: - repo: https://github.com/Wimmics/olivaw - rev: v0.0.6 + rev: v0.0.7 hooks: - id: olivaw-test