Skip to content
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

ci: Update GitHub actions #2224

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

hyperupcall
Copy link
Contributor

@hyperupcall hyperupcall commented Oct 2, 2023

Description

CI hasn't been updated in a hot while. This updates the actions to their latest and greates versions. It also fixes issues with the Go version being too low for shfmt.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • If my change requires a change to the documentation, I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
  • [-] I have added tests to cover my changes, and all the new and existing tests pass.

@hyperupcall hyperupcall force-pushed the hyperupcall-update-actions branch 3 times, most recently from 7f9ca91 to 3172144 Compare October 2, 2023 19:18
@hyperupcall hyperupcall mentioned this pull request Oct 2, 2023
3 tasks
Copy link
Contributor

@davidpfarrell davidpfarrell left a comment

Choose a reason for hiding this comment

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

Hey thanks for taking the the time for this !!!
I know you'll want to revert your go/shfmt changes and rebase against the new main, but also:

Without the quotes, it feels like this simply becomes s/@v2/@v4/ which I'd feel more comfortable with.

Unless they're needed? i.e does v4 require them where v2 didn't ?

@hyperupcall
Copy link
Contributor Author

@davidpfarrell I touched on it a bit here, but you're right that these particular strings do not need to be quoted. Usually, it is good to quote ${{ }} in case a substituted variable includes any special characters, but that does not apply here either.

I rebased my changes over main and remove the quotes, let me know what you think

Copy link
Contributor

@davidpfarrell davidpfarrell left a comment

Choose a reason for hiding this comment

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

Looks clean - Thanks !

@davidpfarrell davidpfarrell merged commit 4339ee9 into Bash-it:master Oct 3, 2023
6 checks passed
@hyperupcall hyperupcall deleted the hyperupcall-update-actions branch October 3, 2023 18:06
douglasjacobsen added a commit to douglasjacobsen/bash-it that referenced this pull request Jan 19, 2024
* upstream/master: (1190 commits)
  Add support to powerline themes to override foreground color (Bash-it#2231)
  ci: Update GitHub actions v2 => v4 (Bash-it#2224)
  docs: Update Bats libraries links (Bash-it#2225)
  fix: bumps go version to 1.21.0 and changes go get to go install
  [terraform] add alias for terraform workspace
  fix (completion): suppress 1091 in brew (Bash-it#2130)
  Allow for longer command min duration (Bash-it#2198)
  Implement yarn completion (Bash-it#2190)
  Fix lint errors in multiple files (Bash-it#2192)
  bug: Use C style strings when checking for invalid alias characters (Bash-it#2188)
  Remove libra chat reference
  Add more aliases for `git branch`, use long form
  remove function wrapper around kubectl alias registration
  bug: Use en_US when fetching EPOCHREALTIME
  bug:Install shellcheck wget (Bash-it#2173)
  fix(theme): use correct escape sequence to avoid weird text overwriting
  chore: Use grep -E / grep -F instead of egrep / fgrep (Bash-it#2164)
  Fixed broken code blocks in troubleshooting.rst
  Removed Bash Dependency section from README and added it to troubleshooting.rst
  Update variable name to match projects.plugin.bash
  ...
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