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
11 changes: 9 additions & 2 deletions .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,27 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
name: Build
name: Build (Go ${{ matrix.go-version }})
strategy:
matrix:
go-version: ['1.25', '1.26', '1.27']
timeout-minutes: 5
defaults:
run:
working-directory: golang
permissions:
contents: read
env:
# matrix で指定したバージョンのまま検証するため、toolchain の自動切り替えを止める
GOTOOLCHAIN: local
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: 'golang/go.mod'
go-version: ${{ matrix.go-version }}
cache-dependency-path: 'golang/go.sum'
cache: true
- run: go mod download
- name: Verify interview template and patch
Expand Down
2 changes: 1 addition & 1 deletion golang/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 開発

- Go 1.22+
- Go 1.25+

```shell
# 準備
Expand Down
2 changes: 1 addition & 1 deletion golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module folio/codinginterview

go 1.22
go 1.25.0

require github.com/shopspring/decimal v1.4.0
Loading