Skip to content

Commit

Permalink
updating for olivaw version v0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoRobertIn committed Dec 19, 2024
1 parent c18c2da commit ebc3549
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/init-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ebc3549

Please sign in to comment.