Skip to content

Commit

Permalink
Merge pull request #335 from tekktrik/dev/update-ci
Browse files Browse the repository at this point in the history
Update CI files
  • Loading branch information
kattni committed Jan 21, 2023
2 parents 1fb546f + 66c7003 commit 6174d7e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 29 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/bundle_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,14 @@ jobs:
- 6379/tcp
options: --entrypoint redis-server
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Versions
run: |
python3 --version
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
submodules: true
- name: Install deps
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/learn_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ jobs:
# default branches).
if: ${{ (github.repository_owner == 'adafruit') }}
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/Adafruit_Learning_System_Guides
token: ${{ secrets.ADABOT_GITHUB_ACCESS_TOKEN }}
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,15 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Versions
run: |
python3 --version
- name: Checkout Current Repo
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Pip install requirements
run: |
pip install --force-reinstall -r requirements.txt
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/reports_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,14 @@ jobs:
BIGQUERY_PRIVATE_KEY: ${{ secrets.BIGQUERY_PRIVATE_KEY }}
BIGQUERY_CLIENT_EMAIL: ${{ secrets.BIGQUERY_CLIENT_EMAIL }}
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Versions
run: |
python3 --version
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
submodules: true
- name: Install deps
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,14 @@ jobs:
- 6379/tcp
options: --entrypoint redis-server
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Versions
run: |
python3 --version
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
submodules: true
- name: Install deps
Expand Down

0 comments on commit 6174d7e

Please sign in to comment.