Skip to content

Commit

Permalink
Fix new error with attr in pull request check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Mar 16, 2023
1 parent e80dfac commit 930a5db
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Pull request check
on:
pull_request:
types:
- opened
- reopened
- labeled
- unlabeled
- edit
- synchronize
- opened
- reopened
- labeled
- unlabeled
- edit
- synchronize

env:
POETRY_DYNAMIC_VERSIONING_BYPASS: 0.0.0
Expand All @@ -20,16 +20,17 @@ jobs:
timeout-minutes: 5

steps:
- uses: actions/checkout@v3
- run: pip install --upgrade attrs
- uses: actions/checkout@v3

- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
- run: python3 -m pip install --user --requirement=requirements.txt
- run: poetry build
- run: python3 -m pip install --user --force-reinstall dist/c2cciutils-0.0.0-py3-none-any.whl[pr_checks]
- run: rm -rf dist build
- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
- run: python3 -m pip install --user --requirement=requirements.txt
- run: poetry build
- run: python3 -m pip install --user --force-reinstall dist/c2cciutils-0.0.0-py3-none-any.whl[pr_checks]
- run: rm -rf dist build

- name: Check pull request
run: c2cciutils-pull-request-checks
env:
GITHUB_EVENT: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}
- name: Check pull request
run: c2cciutils-pull-request-checks
env:
GITHUB_EVENT: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}

0 comments on commit 930a5db

Please sign in to comment.