Skip to content

Commit

Permalink
update GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Jun 24, 2024
1 parent 917839f commit f989a9f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ jobs:

steps:
- name: Check out the repo
uses: actions/checkout@v2
with:
fetch-depth: 0
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:
- name: Install poetry
run: pipx install poetry

- name: Configure poetry
run: poetry config installer.modern-installation false

- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,15 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry

- name: Configure poetry
run: poetry config installer.modern-installation false

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"
python-version: "3.12"

- name: Install binary dependencies
run: OSTYPE=$OSTYPE make install-deps
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
# arch: arm64
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
Expand All @@ -53,8 +53,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# FIXME: temporary
# cache: 'poetry'
cache: 'poetry'

- name: Install binary dependencies
run: OSTYPE=$OSTYPE make install-deps
Expand Down

0 comments on commit f989a9f

Please sign in to comment.