From 65b9ab0b7ec51880e4c23786a6f2f5e45586a080 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Mon, 14 Oct 2024 22:19:25 +0200 Subject: [PATCH] Update github actions --- .github/workflows/update-readme.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index e515b5b..530581d 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -13,11 +13,12 @@ jobs: steps: - name: Check out the repository to the runner uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '^1.23' - name: Install required dependencies run: | - wget https://go.dev/dl/go1.23.2.linux-amd64.tar.gz - rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz - export PATH=$PATH:/usr/local/go/bin go install github.com/anotherhadi/markdown-table-of-contents@latest - name: Run a script run: |