Skip to content

Commit 6174d7e

Browse files
authored
Merge pull request #335 from tekktrik/dev/update-ci
Update CI files
2 parents 1fb546f + 66c7003 commit 6174d7e

File tree

5 files changed

+9
-29
lines changed

5 files changed

+9
-29
lines changed

.github/workflows/bundle_cron.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,14 @@ jobs:
3333
- 6379/tcp
3434
options: --entrypoint redis-server
3535
steps:
36-
- name: Dump GitHub context
37-
env:
38-
GITHUB_CONTEXT: ${{ toJson(github) }}
39-
run: echo "$GITHUB_CONTEXT"
4036
- name: Set up Python 3.9
41-
uses: actions/setup-python@v1
37+
uses: actions/setup-python@v4
4238
with:
4339
python-version: 3.9
4440
- name: Versions
4541
run: |
4642
python3 --version
47-
- uses: actions/checkout@v1
43+
- uses: actions/checkout@v3
4844
with:
4945
submodules: true
5046
- name: Install deps

.github/workflows/learn_cron.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ jobs:
2626
# default branches).
2727
if: ${{ (github.repository_owner == 'adafruit') }}
2828
steps:
29-
- name: Dump GitHub context
30-
env:
31-
GITHUB_CONTEXT: ${{ toJson(github) }}
32-
run: echo "$GITHUB_CONTEXT"
33-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
3430
with:
3531
repository: ${{ github.repository_owner }}/Adafruit_Learning_System_Guides
3632
token: ${{ secrets.ADABOT_GITHUB_ACCESS_TOKEN }}

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,15 @@ jobs:
1010
pre-commit:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Dump GitHub context
14-
env:
15-
GITHUB_CONTEXT: ${{ toJson(github) }}
16-
run: echo "$GITHUB_CONTEXT"
1713
- name: Set up Python 3.9
18-
uses: actions/setup-python@v1
14+
uses: actions/setup-python@v4
1915
with:
2016
python-version: 3.9
2117
- name: Versions
2218
run: |
2319
python3 --version
2420
- name: Checkout Current Repo
25-
uses: actions/checkout@v1
21+
uses: actions/checkout@v3
2622
- name: Pip install requirements
2723
run: |
2824
pip install --force-reinstall -r requirements.txt

.github/workflows/reports_cron.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,14 @@ jobs:
3333
BIGQUERY_PRIVATE_KEY: ${{ secrets.BIGQUERY_PRIVATE_KEY }}
3434
BIGQUERY_CLIENT_EMAIL: ${{ secrets.BIGQUERY_CLIENT_EMAIL }}
3535
steps:
36-
- name: Dump GitHub context
37-
env:
38-
GITHUB_CONTEXT: ${{ toJson(github) }}
39-
run: echo "$GITHUB_CONTEXT"
4036
- name: Set up Python 3.9
41-
uses: actions/setup-python@v1
37+
uses: actions/setup-python@v4
4238
with:
4339
python-version: 3.9
4440
- name: Versions
4541
run: |
4642
python3 --version
47-
- uses: actions/checkout@v1
43+
- uses: actions/checkout@v3
4844
with:
4945
submodules: true
5046
- name: Install deps

.github/workflows/test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,14 @@ jobs:
3131
- 6379/tcp
3232
options: --entrypoint redis-server
3333
steps:
34-
- name: Dump GitHub context
35-
env:
36-
GITHUB_CONTEXT: ${{ toJson(github) }}
37-
run: echo "$GITHUB_CONTEXT"
3834
- name: Set up Python 3.9
39-
uses: actions/setup-python@v1
35+
uses: actions/setup-python@v4
4036
with:
4137
python-version: 3.9
4238
- name: Versions
4339
run: |
4440
python3 --version
45-
- uses: actions/checkout@v1
41+
- uses: actions/checkout@v3
4642
with:
4743
submodules: true
4844
- name: Install deps

0 commit comments

Comments
 (0)