Skip to content

ci: Run linter workflows on ubuntu-slim or ubuntu-24.04-arm#274

Merged
kylebarron merged 3 commits intomainfrom
lint-on-ubuntu-slim
Mar 11, 2026
Merged

ci: Run linter workflows on ubuntu-slim or ubuntu-24.04-arm#274
kylebarron merged 3 commits intomainfrom
lint-on-ubuntu-slim

Conversation

@weiji14
Copy link
Member

@weiji14 weiji14 commented Mar 6, 2026

Save us some $$. As long as the workflows don't run 3x slower, we should be good.

Operating system Billing SKU Per-minute rate (USD)
Linux 1-core (x64) actions_linux_slim $0.002
Linux 2-core (x64) actions_linux $0.006
Linux 2-core (arm64) actions_linux_arm $0.005

References:

@weiji14 weiji14 self-assigned this Mar 6, 2026
@github-actions github-actions bot added the ci label Mar 6, 2026
@weiji14
Copy link
Member Author

weiji14 commented Mar 6, 2026

Oh yay, ubuntu-slim doesn't have cargo. Maybe try on Linux ARM?

@weiji14 weiji14 changed the title ci: Run linter workflows on ubuntu-slim ci: Run linter workflows on ubuntu-slim or ubuntu-24.04-arm Mar 6, 2026
@weiji14 weiji14 marked this pull request as ready for review March 6, 2026 03:09
@kylebarron
Copy link
Member

Oh yay, ubuntu-slim doesn't have cargo.

It shouldn't be hard/slow to install cargo on the runner. Is there a reason we'd prefer x64 over ARM?

@kylebarron
Copy link
Member

Oh yay, ubuntu-slim doesn't have cargo.

It shouldn't be hard/slow to install cargo on the runner. Is there a reason we'd prefer x64 over ARM?

just pinging on this question?

@kylebarron kylebarron enabled auto-merge (squash) March 11, 2026 15:47
@kylebarron kylebarron merged commit 98f5f45 into main Mar 11, 2026
13 checks passed
@kylebarron kylebarron deleted the lint-on-ubuntu-slim branch March 11, 2026 15:50
@weiji14
Copy link
Member Author

weiji14 commented Mar 11, 2026

Oh yay, ubuntu-slim doesn't have cargo.

It shouldn't be hard/slow to install cargo on the runner. Is there a reason we'd prefer x64 over ARM?

just pinging on this question?

You mean the regular ubuntu-latest x86_64 runnners over the ubuntu-24.04-arm runners? I don't think we're doing any arch-specific things in async-tiff yet, so difference doesn't matter too much when testing. I'm starting to lean more towards ARM runners because they're more cost and energy efficient.

pmarks pushed a commit to pmarks/async-tiff that referenced this pull request Mar 13, 2026
…entseed#274)

* ci: Run linter workflows on ubuntu-slim

https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/

* Run cargo clippy/rustfmt/docs checks on ubuntu-24.04-arm

---------

Co-authored-by: Kyle Barron <kyle@developmentseed.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants