From 1bd2f89fa16f109767497698e5a57a5fb9da207c Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Wed, 8 Mar 2023 19:50:02 +0900 Subject: [PATCH] ci: bump versions (#254) * chore: apply format * ci: bump go from 1.16.5 to 1.19.5 * ci: bump actions/setup-go from v2 to v3 * ci: bump hugo from 0.103.1 to 0.110.0 --- .github/workflows/update-themes.yml | 54 ++++++++++++++--------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/update-themes.yml b/.github/workflows/update-themes.yml index bb24a77..de6fc1a 100644 --- a/.github/workflows/update-themes.yml +++ b/.github/workflows/update-themes.yml @@ -1,35 +1,35 @@ name: update-themes on: - schedule: - - cron: '0 0 * * *' - workflow_dispatch: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: jobs: build: runs-on: ubuntu-latest env: HUGO_CACHEDIR: /tmp/hugo_cache steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 - with: - go-version: '^1.16.5' - - uses: actions/cache@v3 - with: - path: | - ~/.cache/go-build - ~/go/pkg/mod - ${{ env.HUGO_CACHEDIR }} - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - name: Update submodules - shell: bash - working-directory: ./cmd/hugothemesitebuilder/build - run: | - git config --global user.email "digitalcraftsman@users.noreply.github.com" - git config --global user.name "digitalcraftsman" - go install github.com/gohugoio/hugo@v0.103.1 - hugo mod get -u - git add . - git commit -am "[Bot] Update themes" - git push --force-with-lease + - uses: actions/checkout@v2 + - uses: actions/setup-go@v3 + with: + go-version: "^1.19.5" + - uses: actions/cache@v3 + with: + path: | + ~/.cache/go-build + ~/go/pkg/mod + ${{ env.HUGO_CACHEDIR }} + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- + - name: Update submodules + shell: bash + working-directory: ./cmd/hugothemesitebuilder/build + run: | + git config --global user.email "digitalcraftsman@users.noreply.github.com" + git config --global user.name "digitalcraftsman" + go install github.com/gohugoio/hugo@v0.110.0 + hugo mod get -u + git add . + git commit -am "[Bot] Update themes" + git push --force-with-lease