1212 DEBIAN_FRONTEND : noninteractive
1313jobs :
1414 lint :
15- uses : mackerelio/workflows/.github/workflows/go-lint.yml@c7e130d3908894f18068ca4a877e80539b535881 # v1.5 .0
15+ uses : mackerelio/workflows/.github/workflows/go-lint.yml@7653987676cc233af59a390d142b5cf6e65a526f # v1.6 .0
1616 with :
1717 os-versions : ' ["ubuntu-latest", "windows-2025"]'
1818 test :
19- uses : mackerelio/workflows/.github/workflows/go-test.yml@c7e130d3908894f18068ca4a877e80539b535881 # v1.5 .0
19+ uses : mackerelio/workflows/.github/workflows/go-test.yml@7653987676cc233af59a390d142b5cf6e65a526f # v1.6 .0
2020 with :
2121 os-versions : ' ["ubuntu-latest", "windows-2025"]'
22+ pre : |
23+ echo "GOTOOLCHAIN=auto" >> $GITHUB_ENV
2224 integration-test-linux :
23- uses : mackerelio/workflows/.github/workflows/setup-go-matrix.yml@c7e130d3908894f18068ca4a877e80539b535881 # v1.5 .0
25+ uses : mackerelio/workflows/.github/workflows/setup-go-matrix.yml@7653987676cc233af59a390d142b5cf6e65a526f # v1.6 .0
2426 with :
2527 os-versions : ' ["ubuntu-latest"]'
2628 run : |
29+ export GOTOOLCHAIN=auto
2730 make testconvention
2831 ./test.bash
2932 integration-test-windows :
30- uses : mackerelio/workflows/.github/workflows/setup-go-matrix.yml@c7e130d3908894f18068ca4a877e80539b535881 # v1.5 .0
33+ uses : mackerelio/workflows/.github/workflows/setup-go-matrix.yml@7653987676cc233af59a390d142b5cf6e65a526f # v1.6 .0
3134 with :
3235 os-versions : ' ["windows-2025"]'
3336 run : |
37+ export GOTOOLCHAIN=auto
3438 go build -o mackerel-plugin-mssql/mackerel-plugin-mssql.exe ./mackerel-plugin-mssql
3539 go build -o mackerel-plugin-windows-server-sessions/mackerel-plugin-windows-server-sessions.exe ./mackerel-plugin-windows-server-sessions
3640 build :
4953 with :
5054 go-version : 1.24.x
5155 - run : make clean rpm deb tar
52- - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
56+ - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
5357 with :
5458 name : linux-build-artifacts
5559 path : |
@@ -62,17 +66,17 @@ jobs:
6266 runs-on : ubuntu-latest
6367 if : github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
6468 steps :
65- - uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
69+ - uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
6670 with :
6771 name : linux-build-artifacts
6872 path : artifacts/
69- - uses : mackerelio/staging-release-update-action@main
73+ - uses : mackerelio/staging-release-update-action@bc0e3a9f7bd0d890dc044592a798bc307bacc956 # v0.0.1
7074 if : github.ref == 'refs/heads/master'
7175 with :
7276 directory : artifacts/
7377 github-token : ${{ secrets.GITHUB_TOKEN }}
7478 tag : staging
75- - uses : mackerelio/create-release-action@main
79+ - uses : mackerelio/create-release-action@5af34070474b72efdb3f5057e50d2f3836453c56 # v0.0.4
7680 if : startsWith(github.ref, 'refs/tags/v')
7781 with :
7882 directory : artifacts/
0 commit comments