Skip to content

Commit

Permalink
Consider public-symbols-check
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jul 30, 2024
1 parent 256670c commit d90c9d1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,20 @@ jobs:
steps:
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
uses: actions/checkout@v4
{%- if job_data.os != "shellcheck" %}
{%- if job_data == "public-symbols-check" %}
with:
fetch-depth: 0

- name: Checkout main
run: git checkout main

- name: Pull origin
run: git pull --rebase=false origin main

- name: Checkout pull request
run: git checkout ${{ github.event.pull_request.head.sha }}
{%- endif %}
{%- if job_data != "shellcheck" %}

- name: Set up Python 3.10
uses: actions/setup-python@v5
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/misc_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ jobs:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install tox
run: pip install tox

Expand Down

0 comments on commit d90c9d1

Please sign in to comment.