Skip to content

Add publish fishjam protos action#9

Merged
Karolk99 merged 3 commits intomasterfrom
release-fishjam-protos-action
Nov 8, 2024
Merged

Add publish fishjam protos action#9
Karolk99 merged 3 commits intomasterfrom
release-fishjam-protos-action

Conversation

@Karolk99
Copy link
Copy Markdown
Collaborator

@Karolk99 Karolk99 commented Nov 7, 2024

No description provided.

@Karolk99 Karolk99 requested a review from roznawsk November 7, 2024 16:23
Copy link
Copy Markdown
Member

@roznawsk roznawsk left a comment

Choose a reason for hiding this comment

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

Looks good, as discussed IRL we may consider adding a check that ensures that the files in Elixir are up to date

@Karolk99 Karolk99 force-pushed the release-fishjam-protos-action branch 3 times, most recently from 0571c20 to bd81e27 Compare November 8, 2024 11:38
@Karolk99 Karolk99 force-pushed the release-fishjam-protos-action branch from bd81e27 to 24d0a06 Compare November 8, 2024 11:52
@Karolk99 Karolk99 requested a review from roznawsk November 8, 2024 11:59
Copy link
Copy Markdown
Member

@roznawsk roznawsk left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread .github/workflows/ci.yml Outdated
echo "Generated protobuf files are not up to date. Please regenerate them and commit the changes."
git diff
exit 1
fi No newline at end of file
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nitpick endline

Comment thread .github/workflows/publish.yml Outdated
env:
HEX_API_KEY: ${{ secrets.MIX_HEX_KEY }}
run: mix hex.publish --yes
working-directory: fishjam_protos No newline at end of file
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nitpick endline

Comment thread fishjam_protos/.formatter.exs Outdated
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
locals_without_parens: [field: 1, field: 2, field: 3, field: 4, oneof: 1, oneof: 2]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe instead we could import this config from protobuf package:
import_deps: [:protobuf] ?

@Karolk99 Karolk99 force-pushed the release-fishjam-protos-action branch from d210e66 to ff2af33 Compare November 8, 2024 14:00
@Karolk99 Karolk99 merged commit 8ba23bf into master Nov 8, 2024
@Karolk99 Karolk99 deleted the release-fishjam-protos-action branch November 8, 2024 14:03
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.

2 participants