Skip to content

Commit bef547e

Browse files
authored
Merge pull request #106 from smarie/feature/105_nox_cleanup
Feature/105 nox cleanup
2 parents e476da2 + 6b46d04 commit bef547e

File tree

5 files changed

+224
-904
lines changed

5 files changed

+224
-904
lines changed

.github/workflows/base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

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

4141
outputs:
4242
matrix: ${{ steps.set-matrix.outputs.matrix }} # save nox sessions list to outputs
@@ -60,7 +60,7 @@ jobs:
6060
uses: actions/[email protected]
6161

6262
- name: Install python ${{ matrix.nox_session.python }} for tests
63-
uses: MatteoH2O1999/setup-python@v3.0.0 # actions/[email protected]
63+
uses: MatteoH2O1999/setup-python@v3.2.1 # actions/[email protected]
6464
id: set-py
6565
with:
6666
python-version: ${{ matrix.nox_session.python }}

.github/workflows/updater.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: GitHub Actions Version Updater
2+
3+
# Controls when the action will run.
4+
on:
5+
workflow_dispatch:
6+
schedule:
7+
# Automatically run on every first day of the month
8+
- cron: '0 0 1 * *'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/[email protected]
16+
with:
17+
# [Required] Access token with `workflow` scope.
18+
token: ${{ secrets.WORKFLOW_SECRET }}
19+
20+
- name: Run GitHub Actions Version Updater
21+
uses: saadmk11/[email protected]
22+
with:
23+
# [Required] Access token with `workflow` scope.
24+
token: ${{ secrets.WORKFLOW_SECRET }}

0 commit comments

Comments
 (0)