Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hugo version check #551

Merged
merged 1 commit into from
Apr 26, 2023
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
14 changes: 9 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ concurrency:
cancel-in-progress: true

jobs:
check-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check site
shell: bash
run: |
make -C site check

test-build:
runs-on: ubuntu-latest
strategy:
Expand All @@ -33,11 +42,6 @@ jobs:
run: |
./hack/e2e-test.sh release/build

- name: Check site
shell: bash
run: |
make -C site check

- name: Build
shell: bash
run: |
Expand Down
4 changes: 2 additions & 2 deletions site/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ check-version: check-binary-version check-image-version

.PHONY: check-image-version
check-image-version:
docker manifest inspect $(HUGO_IMAGE)
skopeo --override-os linux inspect docker://$(HUGO_IMAGE)

.PHONY: check-binary-version
check-binary-version:
curl -sL https://api.github.com/repos/gohugoio/hugo/releases/tags/v$(HUGO_VERSION)
curl -sfL https://api.github.com/repos/gohugoio/hugo/releases/tags/v$(HUGO_VERSION)

.PHONY: links
links:
Expand Down