Skip to content

Commit

Permalink
fix actions; add dep update for workflows in dependabot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SarthakJariwala committed Nov 23, 2020
1 parent ffcd32b commit b36b25a
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 16 deletions.
23 changes: 17 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: "13:00"
open-pull-requests-limit: 10
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: "13:00"
open-pull-requests-limit: 10

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10

- package-ecosystem: pip
directory: "/.github/workflows"
schedule:
interval: daily
3 changes: 3 additions & 0 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pip==20.2.4
nox==2020.8.22
poetry==1.1.4
9 changes: 5 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v2.3.4
- uses: actions/setup-python@v2.1.4
with:
python-version: '3.8'
architecture: x64
- run: pip install nox==2020.8.22
- run: pip install poetry==1.1.4
- run: pip install --constraint=.github/workflows/constraints.txt pip
- run: pip install --constraint=.github/workflows/constraints.txt nox
- run: pip install --constraint=.github/workflows/constraints.txt poetry
- run: nox --sessions tests coverage
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ jobs:
with:
python-version: '3.8'
architecture: x64
- run: pip install nox==2020.8.22
- run: pip install poetry==1.1.4
- run: pip install --constraint=.github/workflows/constraints.txt pip
- run: pip install --constraint=.github/workflows/constraints.txt nox
- run: pip install --constraint=.github/workflows/constraints.txt poetry
- run: nox
- run: poetry build
- run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ jobs:
- { python-version: 3.8, os: macos-latest }

steps:
- uses: actions/checkout@v2.3.1
- uses: actions/setup-python@v2.1.1
- uses: actions/checkout@v2.3.4
- uses: actions/setup-python@v2.1.4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: pip install nox==2020.8.22
- run: pip install poetry==1.1.4
- run: pip install --constraint=.github/workflows/constraints.txt pip
- run: pip install --constraint=.github/workflows/constraints.txt nox
- run: pip install --constraint=.github/workflows/constraints.txt poetry
- run: nox

0 comments on commit b36b25a

Please sign in to comment.