Skip to content

Commit

Permalink
Update some workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
georgealton committed Jun 6, 2022
1 parent 5d21e78 commit 022faba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/maintenance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- run: pip install '.[scraper]'
cache: pip
cache-dependency-path: pyproject.toml
- run: pip install --upgrade --no-input '.[scraper]'
- run: cd scripts && ./scrape_checks.py
- uses: peter-evans/create-pull-request@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Test Action

on: [push]

permissions:
security-events: write
actions: read
contents: read

jobs:
test:
runs-on: ubuntu-latest
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: test
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
python -m pip install --upgrade --no-input pip
python -m pip install --upgrade --no-input tox tox-gh-actions
tox

0 comments on commit 022faba

Please sign in to comment.