@@ -14,21 +14,21 @@ jobs:
1414 runs-on : ubuntu-latest
1515 steps :
1616 - name : Checkout
17- uses : actions/checkout@v5
17+ uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1818 with :
1919 fetch-depth : 0
2020 submodules : ' true'
2121 token : ${{ secrets.ORG_GITHUB_TOKEN }}
2222 - name : Fetch All Tags
2323 run : git fetch --force --tags
2424 - name : Set up Go
25- uses : actions/setup-go@v5
25+ uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
2626 with :
2727 go-version-file : src/go.mod
2828 cache-dependency-path : |
2929 src/go.sum
3030 - name : Cache Go modules
31- uses : actions/cache@v4
31+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
3232 with :
3333 path : |
3434 ~/.cache/go-build
@@ -38,17 +38,17 @@ jobs:
3838 ${{ runner.os }}-go-
3939 - name : Import GPG Key
4040 id : import_gpg
41- uses : crazy-max/ghaction-import-gpg@v6
41+ uses : crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6
4242 with :
4343 gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
4444 passphrase : ${{ secrets.GPG_PASSPHRASE }}
4545 - name : Install Task
46- uses : arduino/setup-task@v2
46+ uses : arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v2.0.0
4747 with :
4848 version : 3.x
4949 repo-token : ${{ secrets.GITHUB_TOKEN }}
5050 - name : Login to Public ECR
51- uses : docker/login-action@v3
51+ uses : docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
5252 with :
5353 registry : public.ecr.aws
5454 username : ${{ secrets.ECR_PUBLIC_AWS_ACCESS_KEY_ID }}
@@ -74,19 +74,18 @@ jobs:
7474 then
7575 echo "Skip Changie..."
7676 else
77- go install github.com/miniscruff/changie@latest
78- changie batch ${{ steps.version.outputs.RELEASE_VERSION }}
79- changie merge
77+ (cd src && go tool changie batch --dir .. ${{ steps.version.outputs.RELEASE_VERSION }})
78+ (cd src && go tool changie merge --dir ..)
8079 git add .
8180 git commit -m "Cut Release '${{ steps.version.outputs.RELEASE_VERSION }}'"
8281 git push origin HEAD
8382 fi
8483 git tag -f ${{ steps.version.outputs.RELEASE_VERSION }} -m "Cut Release '${{ steps.version.outputs.RELEASE_VERSION }}'"
8584 git push -f origin refs/tags/${{ steps.version.outputs.RELEASE_VERSION }}
8685 - name : Set up QEMU
87- uses : docker/setup-qemu-action@v3
86+ uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
8887 - name : Run GoReleaser
89- uses : goreleaser/goreleaser-action@v6.1.0
88+ uses : goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
9089 with :
9190 args : release --clean --release-notes=../.changes/${{ steps.version.outputs.RELEASE_VERSION }}.md
9291 workdir : ./src
0 commit comments