chore(deps): update dependency go to v1.25 #21
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Modules | |
| on: | |
| pull_request: | |
| paths: | |
| - '**/go.mod' | |
| - '**/go.sum' | |
| concurrency: | |
| cancel-in-progress: true | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| defaults: | |
| run: | |
| shell: bash | |
| permissions: | |
| contents: write | |
| issues: write | |
| jobs: | |
| update: | |
| name: Update | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: 1.25 | |
| cache: false | |
| - name: Setup hugo | |
| uses: peaceiris/actions-hugo@v3 | |
| with: | |
| hugo-version: 0.149.1 | |
| extended: true | |
| - name: Setup node | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| - name: Install node dependencies | |
| run: npm install handlebars | |
| - name: Configure repository | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const { Workflow } = require('./.github/actions/handlers'); | |
| const workflow = new Workflow({ github, context, core, exec }); | |
| await workflow.configureRepository(); | |
| - name: Update modules | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const { Workflow } = require('./.github/actions/handlers'); | |
| const workflow = new Workflow({ github, context, core, exec }); | |
| await workflow.updateModules(); | |
| - name: Report workflow issue | |
| uses: actions/github-script@v8 | |
| if: always() | |
| with: | |
| script: | | |
| const { Workflow } = require('./.github/actions/handlers'); | |
| const workflow = new Workflow({ github, context, core, exec }); | |
| await workflow.reportIssue(); |