Skip to content

Commit

Permalink
scripts: pin & modernize Go tool
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Jan 2, 2023
1 parent 60322bc commit 973bb04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
steps:
- uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
- uses: actions/setup-go@424fc82d43fa5a37540bae62709ddcc23d9520d4 # v2
- run: go get github.com/campoy/embedmd
- run: go install github.com/campoy/embedmd@97c13d6
- uses: actions/setup-ruby@b007fae6f1ffbe3a51c00a6df6f5ff01184d5340 # v1
- run: gem install mdl
- uses: actions-rs/toolchain@63eb9591781c46a70274cb3ebdf190fce92702e8 # v1
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ done

EMBEDMD="$(go env GOPATH)/bin/embedmd"
if [[ ! -x "$EMBEDMD" ]]; then
go get github.com/campoy/embedmd
go install github.com/campoy/embedmd@97c13d6
fi
for f in "${MD_FILES[@]}"; do
"$EMBEDMD" -d "$f"
Expand Down

0 comments on commit 973bb04

Please sign in to comment.