Skip to content

Commit

Permalink
Merge pull request #106 from smarie/feature/105_nox_cleanup
Browse files Browse the repository at this point in the history
Feature/105 nox cleanup
  • Loading branch information
smarie committed Jul 5, 2024
2 parents e476da2 + 6b46d04 commit bef547e
Show file tree
Hide file tree
Showing 5 changed files with 224 additions and 904 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: List 'tests' nox sessions and required python versions
id: set-matrix
run: echo "::set-output name=matrix::$(nox -s gha_list -- -s tests -v)"
run: echo "::set-output name=matrix::$(nox --json -l -s tests -v)"

outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }} # save nox sessions list to outputs
Expand All @@ -60,7 +60,7 @@ jobs:
uses: actions/checkout@v4.1.1

- name: Install python ${{ matrix.nox_session.python }} for tests
uses: MatteoH2O1999/setup-python@v3.0.0 # actions/setup-python@v5.0.0
uses: MatteoH2O1999/setup-python@v3.2.1 # actions/setup-python@v5.0.0
id: set-py
with:
python-version: ${{ matrix.nox_session.python }}
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: GitHub Actions Version Updater

# Controls when the action will run.
on:
workflow_dispatch:
schedule:
# Automatically run on every first day of the month
- cron: '0 0 1 * *'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.1.1
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}

- name: Run GitHub Actions Version Updater
uses: saadmk11/github-actions-version-updater@v0.8.1
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
Loading

0 comments on commit bef547e

Please sign in to comment.