44
55name : act-build-release
66# act-build-release.yml
7- # date: 2025.07.31 07 :30
8- # go >=1.23.0-rc.1
7+ # date: 2026.02.19 15 :30
8+ # lint, go >=1.26 # go >=1.23.0-rc.1
99# Patch makefile, remove rclone --config bin/travis.rclone.conf
1010# mac-latest, fix build
1111# setup-go, cache: false
@@ -568,7 +568,7 @@ jobs:
568568
569569 lint :
570570 if : ${{ inputs.lint }}
571- # if: ${{ github.event. inputs.manual == 'true' || (github.repository == 'rclone/rclone' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)) }}
571+ # if: inputs.manual || (github.repository == 'rclone/rclone' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name))
572572 timeout-minutes : 30
573573 name : " lint"
574574 runs-on : ubuntu-latest
@@ -582,18 +582,20 @@ jobs:
582582 echo "runner-os-version=$ImageOS" >> $GITHUB_OUTPUT
583583
584584 - name : Checkout
585- uses : deep-soft/checkout@v4
585+ uses : actions/checkout@v6
586+ with :
587+ fetch-depth : 0
586588
587589 - name : Install Go
588590 id : setup-go
589- uses : deep-soft /setup-go@v5
591+ uses : actions /setup-go@v6
590592 with :
591- go-version : ' >=1.23.0-rc.1 '
593+ go-version : ' ~1.26.0 '
592594 check-latest : true
593595 cache : false
594596
595597 - name : Cache
596- uses : deep-soft /cache@v4
598+ uses : actions /cache@v5
597599 with :
598600 path : |
599601 ~/go/pkg/mod
@@ -603,37 +605,37 @@ jobs:
603605 restore-keys : golangci-lint-${{ steps.get-runner-parameters.outputs.runner-os-version }}-go${{ steps.setup-go.outputs.go-version }}-${{ steps.get-runner-parameters.outputs.year-week }}-
604606
605607 - name : Code quality test (Linux)
606- uses : golangci/golangci-lint-action@v6
608+ uses : golangci/golangci-lint-action@v9
607609 with :
608610 version : latest
609611 skip-cache : true
610612
611613 - name : Code quality test (Windows)
612- uses : golangci/golangci-lint-action@v6
614+ uses : golangci/golangci-lint-action@v9
613615 env :
614616 GOOS : " windows"
615617 with :
616618 version : latest
617619 skip-cache : true
618620
619621 - name : Code quality test (macOS)
620- uses : golangci/golangci-lint-action@v6
622+ uses : golangci/golangci-lint-action@v9
621623 env :
622624 GOOS : " darwin"
623625 with :
624626 version : latest
625627 skip-cache : true
626628
627629 - name : Code quality test (FreeBSD)
628- uses : golangci/golangci-lint-action@v6
630+ uses : golangci/golangci-lint-action@v9
629631 env :
630632 GOOS : " freebsd"
631633 with :
632634 version : latest
633635 skip-cache : true
634636
635637 - name : Code quality test (OpenBSD)
636- uses : golangci/golangci-lint-action@v6
638+ uses : golangci/golangci-lint-action@v9
637639 env :
638640 GOOS : " openbsd"
639641 with :
@@ -645,3 +647,20 @@ jobs:
645647
646648 - name : Scan for vulnerabilities
647649 run : govulncheck ./...
650+
651+ - name : Check Markdown format
652+ uses : DavidAnson/markdownlint-cli2-action@v20
653+ with :
654+ globs : |
655+ CONTRIBUTING.md
656+ MAINTAINERS.md
657+ README.md
658+ RELEASE.md
659+ CODE_OF_CONDUCT.md
660+ librclone\README.md
661+ backend\s3\README.md
662+ docs/content/{_index,authors,bugs,changelog,docs,downloads,faq,filtering,gui,install,licence,overview,privacy}.md
663+
664+ - name : Scan edits of autogenerated files
665+ run : bin/check_autogenerated_edits.py 'origin/${{ github.base_ref }}'
666+ if : github.event_name == 'pull_request'
0 commit comments