Skip to content

build: fix it for alpine #1835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

build: fix it for alpine #1835

wants to merge 8 commits into from

Conversation

joseph-sentry
Copy link
Contributor

No description provided.

@joseph-sentry joseph-sentry requested review from spalmurray and a team June 2, 2025 22:25
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches: [main]
schedule:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL how to schedule action runs

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi, these are... fluffy. don't rely on crons in GHA for precise timing

@@ -133,3 +133,40 @@ jobs:
version: v9.1.0
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}

run-alpine:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huge. 🥔


runs:
using: "composite"
steps:
- name: Detect shell
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this necessary? Can't we just use sh for everything?

- name: Action version
shell: bash
shell: ${{ env.CC_SHELL }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W that all this stuff just works in the less featured shells

Copy link
Contributor

@spalmurray spalmurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1q

Copy link
Contributor

@spalmurray spalmurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@@ -1,4 +1,3 @@
#!/usr/bin/env bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can do a shebang for sh - would recommend as otherwise I believe it just uses the default shell, which could potentially be bad? Regardless would rather be explicit about the API necessary for the script to run

@spalmurray
Copy link
Contributor

Oh I see your commits are called try something lol Ping me on slack when actually need a review. I was going based on GH notifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants