From 8d1c31573028c473ca4892c1462e343b0f9a9045 Mon Sep 17 00:00:00 2001 From: morimoto-cybozu Date: Wed, 27 Nov 2024 13:03:05 +0000 Subject: [PATCH] Update dependencies Signed-off-by: morimoto-cybozu --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/mdbook.yaml | 4 ++-- Makefile | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4d5d691..be6edef 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,11 +5,11 @@ on: branches: - 'main' env: - go-version: "1.22" + go-version: "1.23" jobs: test: name: Small tests - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 diff --git a/.github/workflows/mdbook.yaml b/.github/workflows/mdbook.yaml index 5ba8505..6feb0be 100644 --- a/.github/workflows/mdbook.yaml +++ b/.github/workflows/mdbook.yaml @@ -7,7 +7,7 @@ on: jobs: build: name: Build book - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - run: make book @@ -18,7 +18,7 @@ jobs: retention-days: 1 publish: name: Publish book on GitHub Pages - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: build steps: - uses: actions/checkout@v4 diff --git a/Makefile b/Makefile index bb528f2..cba170c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ BIN_DIR := $(shell pwd)/bin # Tool versions -MDBOOK_VERSION = 0.4.40 +MDBOOK_VERSION = 0.4.43 MDBOOK := $(BIN_DIR)/mdbook # Test tools @@ -34,8 +34,8 @@ test-go: test-tools ##@ Tools $(MDBOOK): - mkdir -p bin - curl -fsL https://github.com/rust-lang/mdBook/releases/download/v$(MDBOOK_VERSION)/mdbook-v$(MDBOOK_VERSION)-x86_64-unknown-linux-gnu.tar.gz | tar -C bin -xzf - + mkdir -p $(BIN_DIR) + curl -fsL https://github.com/rust-lang/mdBook/releases/download/v$(MDBOOK_VERSION)/mdbook-v$(MDBOOK_VERSION)-x86_64-unknown-linux-gnu.tar.gz | tar -C $(BIN_DIR) -xzf - .PHONY: test-tools test-tools: $(STATICCHECK)