File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 aur :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v6
1414
1515 - name : Set env VERSION
1616 run : |
2424 sed -i "s/SHA256SUMS_X86_64/$(sha256sum gtt-linux-amd64.tar.gz | awk '{print $1}')/g" build/PKGBUILD
2525
2626 - name : Publish to the AUR
27- uses : KSXGitHub/github-actions-deploy-aur@v2.7.2
27+ uses : KSXGitHub/github-actions-deploy-aur@v4.1.1
2828 with :
2929 pkgname : gtt-bin
3030 pkgbuild : build/PKGBUILD
Original file line number Diff line number Diff line change @@ -10,21 +10,21 @@ jobs:
1010 docker_build :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v6
1414
1515 - name : Set env VERSION
1616 run : |
1717 git fetch --tags
1818 echo "VERSION=$(git describe --tags)" >> $GITHUB_ENV
1919
2020 - name : Login to Docker Hub
21- uses : docker/login-action@v2
21+ uses : docker/login-action@v3
2222 with :
2323 username : ${{ secrets.DOCKERHUB_USERNAME }}
2424 password : ${{ secrets.DOCKERHUB_PASSWORD }}
2525
2626 - name : Build and push
27- uses : docker/build-push-action@v4
27+ uses : docker/build-push-action@v6
2828 with :
2929 context : build/
3030 build-args : |
Original file line number Diff line number Diff line change @@ -11,18 +11,18 @@ jobs:
1111 format :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v6
1515
1616 - name : Setup Go
17- uses : actions/setup-go@v3
17+ uses : actions/setup-go@v6
1818 with :
19- go-version : " ^1.19 "
19+ go-version : " ^1.25 "
2020
2121 - name : Format with gofmt
2222 run : gofmt -w .
2323
2424 - name : Commit changes
25- uses : stefanzweifel/git-auto-commit-action@v4
25+ uses : stefanzweifel/git-auto-commit-action@v7
2626 with :
2727 commit_message : " style(format): run gofmt"
2828
3333 run : goimports -w .
3434
3535 - name : Commit changes
36- uses : stefanzweifel/git-auto-commit-action@v4
36+ uses : stefanzweifel/git-auto-commit-action@v7
3737 with :
3838 commit_message : " style(format): run goimports"
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
1414 name : Build on ${{ matrix.os }}
1515 runs-on : ${{ matrix.os }}
1616 steps :
17- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v6
1818
1919 - name : Setup Go
20- uses : actions/setup-go@v3
20+ uses : actions/setup-go@v6
2121 with :
22- go-version : " ^1.19 "
22+ go-version : " ^1.25 "
2323
2424 - name : Install dependencies
2525 if : ${{ startsWith(matrix.os, 'ubuntu-') }}
3737 rm gtt
3838
3939 - name : Release
40- uses : softprops/action-gh-release@v1
40+ uses : softprops/action-gh-release@v2
4141 with :
4242 files : dist/*
You can’t perform that action at this time.
0 commit comments