Skip to content

Commit

Permalink
Simplify checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckwondo committed Sep 17, 2024
1 parent fa49692 commit bd4d9f9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
fail-fast: false

steps:
- name: Checkout source
if: ${{ github.event_name != 'pull_request_target' }}
uses: actions/checkout@v4
- name: Fetch user permission
if: ${{ github.event_name == 'pull_request_target' }}
id: permission
Expand All @@ -57,17 +54,14 @@ jobs:
echo "A maintainer must perform a security review and re-run this build, if the code is safe."
exit 1
- name: Checkout source
if: ${{ github.event_name == 'pull_request_target' }}
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Get full python version
id: full-python-version
run: echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT
run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
- name: Install poetry
uses: abatilo/actions-poetry@v3
- name: Configure poetry
Expand Down

0 comments on commit bd4d9f9

Please sign in to comment.