Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
PULL_REQUEST: ${{ github.event.pull_request.number }}
run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST
run: brew pr-pull --debug --tap="${GITHUB_REPOSITORY}" "${PULL_REQUEST}"

- name: Push commits
uses: Homebrew/actions/git-try-push@master
Expand All @@ -30,4 +30,4 @@ jobs:
if: github.event.pull_request.head.repo.fork == false
env:
BRANCH: ${{ github.event.pull_request.head.ref }}
run: git push --delete origin $BRANCH
run: git push --delete origin "${BRANCH}"
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
Expand Down
3 changes: 0 additions & 3 deletions scripts/generate-formulas/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ type Shas struct {
DarwinArm64 string
LinuxAmd64 string
LinuxArm64 string
LinuxArmv7 string
}

func (s *Shas) Validate() {
Expand Down Expand Up @@ -166,8 +165,6 @@ func parseChecksums(checksums []byte, tag string) map[string]*Shas {
shasMapping[name].LinuxAmd64 = sha
} else if os == "linux" && arch == "arm64" {
shasMapping[name].LinuxArm64 = sha
} else if os == "linux" && arch == "armv7" {
shasMapping[name].LinuxArmv7 = sha
}
}
return shasMapping
Expand Down
1 change: 0 additions & 1 deletion scripts/generate-formulas/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func TestValidateNoPanic(t *testing.T) {
DarwinArm64: "0fea948d10091a8442c97d872eff7c81ae73d522415118d6ce81bcb2c0f35fa5",
LinuxAmd64: "e08b5c83558efc8e2e3a273f6166c93e3f7d0f8daa98557f2eb05c691480cf66",
LinuxArm64: "7360b4c12ffe789e8b12030b164c45299d4514f063d4c7b87498d2aa89c5b0af",
LinuxArmv7: "eaa32afde7306a4de06bd7a770a677edff733a7c9dbd21fa935c0f3f07850250",
}

s.Validate()
Expand Down
Loading