Skip to content

Commit 189d35f

Browse files
Switch to GitHub runners, update GitHub actions (#41)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexander Rashed <alexander.rashed@localstack.cloud>
1 parent 9676f45 commit 189d35f

File tree

3 files changed

+8
-19
lines changed

3 files changed

+8
-19
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- runner: ubuntu-22.04
3030
os: linux
3131
arch: amd64
32-
- runner: buildjet-2vcpu-ubuntu-2204-arm
32+
- runner: ubuntu-22.04-arm
3333
os: linux
3434
arch: arm64
3535

@@ -38,19 +38,10 @@ jobs:
3838
cli_version: ${{ steps.cli_version.outputs.cli_version }}
3939
steps:
4040
- name: Check out Git repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v5
4242

43-
- name: Setup Python (GitHub Runner)
44-
if: ${{ !contains(matrix.runner, 'buildjet') }}
43+
- name: Setup Python
4544
uses: actions/setup-python@v5
46-
with:
47-
python-version: '3.11.5'
48-
49-
- name: Setup Python (BuildJet Runner)
50-
if: contains(matrix.runner, 'buildjet')
51-
uses: gabrielfalcao/pyenv-action@v18
52-
with:
53-
default: '3.11.4'
5445

5546
# Add a retry to avoid issues when this action is running
5647
# right after the package is published on PyPi
@@ -105,8 +96,8 @@ jobs:
10596
# GitHub Windows and xlarge MacOS runner cannot run Docker containers:
10697
# - https://github.com/orgs/community/discussions/25491
10798
# - https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/
108-
# TODO re-enable for mac when mac11 docker gets more stable, and for buildjet when the tests there get more stable
109-
if: matrix.os != 'windows' && matrix.os != 'darwin' && matrix.runner != 'buildjet-2vcpu-ubuntu-2204-arm'
99+
# TODO re-enable for mac when mac11 docker gets more stable
100+
if: matrix.os != 'windows' && matrix.os != 'darwin'
110101
run: |
111102
# Pull images to avoid making smoke tests vulnerable to system behavior (docker pull speed)
112103
docker pull localstack/localstack
@@ -124,8 +115,8 @@ jobs:
124115
# - https://github.com/orgs/community/discussions/25491
125116
# - https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/
126117
# Skip these checks for forks (forks do not have access to the LocalStack Pro API key)
127-
# TODO re-enable for mac when mac11 docker gets more stable, and for buildjet when the tests there get more stable
128-
if: matrix.os != 'windows' && matrix.os != 'darwin' && matrix.runner != 'buildjet-2vcpu-ubuntu-2204-arm' && !github.event.pull_request.head.repo.fork
118+
# TODO re-enable for mac when mac11 docker gets more stable
119+
if: matrix.os != 'windows' && matrix.os != 'darwin' && !github.event.pull_request.head.repo.fork
129120
run: |
130121
# Pull images to avoid making smoke tests vulnerable to system behavior (docker pull speed)
131122
docker pull localstack/localstack-pro

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ target/
108108
# Jupyter Notebook
109109
.ipynb_checkpoints
110110

111-
# pyenv
112-
.python-version
113-
114111
# celery beat schedule file
115112
celerybeat-schedule
116113

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11

0 commit comments

Comments
 (0)