Skip to content

Commit e934849

Browse files
committed
new: add go mod tidy after init
1 parent 2293ac9 commit e934849

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/rename_project.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,3 @@ do
3737
echo "Renamed $filename"
3838
done
3939

40-
41-
bash update_hiddify_core.sh

.github/workflows/rename_project.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
# this fetches all history so that we can read each commit
1616
fetch-depth: 0
1717
ref: ${{ github.head_ref }}
18+
- name: Setup Go
19+
uses: actions/setup-go@v5
20+
with:
21+
go-version-file: 'go.mod'
22+
check-latest: false
1823

1924
- run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
2025
shell: bash
@@ -24,13 +29,14 @@ jobs:
2429

2530
- run: echo "REPOSITORY_OWNER=$(echo '${{ github.repository }}' | awk -F '/' '{print $1}')" >> $GITHUB_ENV
2631
shell: bash
27-
32+
2833
- name: Rename the project
2934
run: |
3035
echo "Renaming the project with -a(author) ${{ env.REPOSITORY_OWNER }} -n(name) ${{ env.REPOSITORY_NAME }} -u(urlname) ${{ env.REPOSITORY_URLNAME }}"
3136
.github/rename_project.sh -a ${{ env.REPOSITORY_OWNER }} -n ${{ env.REPOSITORY_NAME }} -u ${{ env.REPOSITORY_URLNAME }} -d "Awesome Extension ${{ env.REPOSITORY_NAME }} created by ${{ env.REPOSITORY_OWNER }}"
3237
rm .github/rename_project.sh
3338
rm .github/workflows/rename_project.yaml
39+
bash update_hiddify_core.sh
3440
3541
- uses: stefanzweifel/git-auto-commit-action@v4
3642
with:

0 commit comments

Comments
 (0)