Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: false
- name: Configure private Go modules
env:
RELEASES_TOKEN: ${{ secrets.RELEASES_TOKEN || github.token }}
Expand Down
25 changes: 19 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,32 @@ jobs:
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: false
- name: Configure private Go modules
env:
RELEASES_TOKEN: ${{ secrets.RELEASES_TOKEN || github.token }}
run: |
git config --global url."https://x-access-token:${RELEASES_TOKEN}@github.com/GoCodeAlone/".insteadOf "https://github.com/GoCodeAlone/"
go env -w GOPRIVATE=github.com/GoCodeAlone/*
go env -w GONOSUMDB=github.com/GoCodeAlone/*
- name: Install wfctl v0.74.5
- name: Install wfctl v0.74.6
env:
GH_TOKEN: ${{ secrets.RELEASES_TOKEN || github.token }}
WFCTL_VERSION: v0.74.6
run: |
set -euo pipefail
runner_arch=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
asset="wfctl-linux-${runner_arch}"
download_dir="$(mktemp -d)"
gh release download "${WFCTL_VERSION}" \
--repo GoCodeAlone/workflow \
--pattern "${asset}" \
--pattern checksums.txt \
--dir "${download_dir}"
(cd "${download_dir}" && grep " ${asset}$" checksums.txt | sha256sum -c -)
mkdir -p "${RUNNER_TEMP}/wfctl-bin"
curl -sSfL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-o "${RUNNER_TEMP}/wfctl-bin/wfctl" \
"https://github.com/GoCodeAlone/workflow/releases/download/v0.74.5/wfctl-linux-amd64"
chmod +x "${RUNNER_TEMP}/wfctl-bin/wfctl"
install -m 0755 "${download_dir}/${asset}" "${RUNNER_TEMP}/wfctl-bin/wfctl"
echo "${RUNNER_TEMP}/wfctl-bin" >> "$GITHUB_PATH"
- uses: goreleaser/goreleaser-action@5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89 # v7.2.2
with:
distribution: goreleaser
Expand Down Expand Up @@ -66,6 +78,7 @@ jobs:
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: false
- name: Configure private Go modules for runtime image
env:
RELEASES_TOKEN: ${{ secrets.RELEASES_TOKEN || github.token }}
Expand Down Expand Up @@ -104,7 +117,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Notify workflow-registry of new release
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
repository: GoCodeAlone/workflow-registry
Expand Down
2 changes: 1 addition & 1 deletion docker/product-capture-browser/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22-bookworm-slim
FROM node:24-bookworm-slim

ENV NODE_PATH=/usr/local/lib/node_modules \
HOME=/tmp \
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GoCodeAlone/workflow-plugin-product-capture

go 1.26.0
go 1.26.4

require (
github.com/GoCodeAlone/workflow v0.74.5
Expand Down