Skip to content

Commit db3f1d2

Browse files
committed
Install Go and goimports on CI
1 parent 71f85e1 commit db3f1d2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ruby_h_to_go.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,28 @@ defaults:
2121

2222
jobs:
2323
test:
24-
name: "test (Ruby ${{ matrix.ruby }})"
24+
name: "test (Go ${{ matrix.golang }}, Ruby ${{ matrix.ruby }})"
2525

2626
runs-on: ubuntu-latest
2727

2828
strategy:
2929
fail-fast: false
3030

3131
matrix:
32+
golang:
33+
# TODO: Enable after repo is published
34+
# - "1.22"
35+
- "1.23"
3236
ruby:
3337
- "3.3"
3438

3539
steps:
3640
- uses: actions/checkout@v4
3741

42+
- uses: actions/setup-go@v5
43+
with:
44+
go-version: ${{ matrix.golang }}
45+
3846
- uses: ruby/setup-ruby@v1
3947
with:
4048
ruby-version: ${{ matrix.ruby }}
@@ -43,6 +51,8 @@ jobs:
4351
- run: sudo apt-get update
4452
- run: sudo apt-get install -y universal-ctags
4553

54+
- run: go install golang.org/x/tools/cmd/goimports@latest
55+
4656
- run: bundle exec rspec
4757

4858
- name: Slack Notification (not success)

0 commit comments

Comments
 (0)