Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
a7fbcc1
build(deps): bump actions/upload-artifact from 4 to 7
dependabot[bot] Sep 4, 2026
629cbe6
build(deps): bump actions/checkout from 4 to 7
dependabot[bot] Sep 4, 2026
13eb085
build(deps): bump actions/download-artifact from 4 to 8
dependabot[bot] Sep 4, 2026
f310236
build(deps): bump actions/setup-go from 5 to 7
dependabot[bot] Sep 4, 2026
20cd9b3
build(deps): bump alpine from 3.20 to 3.24
dependabot[bot] Sep 7, 2026
1b1a776
build(deps): bump golang from 1.25-alpine to 1.27-alpine
dependabot[bot] Sep 7, 2026
06f1bee
chore(ci): merge main into dependabot/docker/golang-1.27-alpine
Oct 23, 2026
2352313
chore(ci): merge main into dependabot/docker/alpine-3.24
Oct 23, 2026
a41ba43
chore(ci): merge main into dependabot/github_actions/actions/setup-go-7
Oct 23, 2026
7c6fad2
chore(ci): merge main into dependabot/github_actions/actions/download…
Oct 23, 2026
f4071b3
chore(ci): merge main into dependabot/github_actions/actions/checkout-7
Oct 23, 2026
0256093
chore(ci): merge main into dependabot/github_actions/actions/upload-a…
Oct 23, 2026
5081e98
Merge pull request #1 from FasterEdge/dependabot/github_actions/actio…
Oct 23, 2026
b954ce9
Merge pull request #2 from FasterEdge/dependabot/github_actions/actio…
Oct 23, 2026
77b586b
Merge pull request #3 from FasterEdge/dependabot/github_actions/actio…
Oct 23, 2026
250c4b7
Merge pull request #6 from FasterEdge/dependabot/docker/alpine-3.24
Oct 23, 2026
51c1c5e
Merge pull request #7 from FasterEdge/dependabot/docker/golang-1.27-a…
Oct 23, 2026
d57d16f
merge dependabot/github_actions/actions/setup-go-7
Oct 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: 'Go 单元测试'
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version: '1.26'
- name: '运行测试'
Expand All @@ -36,7 +36,7 @@ jobs:
- name: '计算工件名'
shell: bash
run: echo "ARTIFACT_NAME=simple-time-service-docker-image-${GITHUB_REF_NAME//\//-}" >> "$GITHUB_ENV"
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: ${{ env.ARTIFACT_NAME }}
path: 'simple-time-service-image.tar.gz'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- { target: windows-amd64, goos: windows, goarch: amd64, ext: .exe }
- { target: windows-arm64, goos: windows, goarch: arm64, ext: .exe }
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: '1.26'
- name: '编译 ${{ matrix.target }}'
Expand All @@ -42,7 +42,7 @@ jobs:
else
tar czf ../simple-time-service-${{ matrix.target }}.tar.gz simple-time-service
fi
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: 'simple-time-service-${{ matrix.target }}'
path: '${{ github.workspace }}/simple-time-service-${{ matrix.target }}.*'
Expand All @@ -54,7 +54,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
path: artifacts
merge-multiple: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /src
COPY . .
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /out/app .

FROM alpine:3.20
FROM alpine:3.24
RUN addgroup -S app && adduser -S -G app app
COPY --from=build /out/app /usr/local/bin/app
USER app
Expand Down
Loading