Skip to content

Commit

Permalink
github: make sure xgettext-go is available during offline build
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jul 9, 2024
1 parent 2767a03 commit 09245a9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,16 @@ jobs:
set -eux
go mod download
- name: Install xgettext-go
run: |
set -eux
# XXX: during the LXD build step, `make i18n` cannot install
# xgettext-go due to being in LXD_OFFLINE mode. Furthermore, the
# Makefile uses `go get` which is no longer supported outside of
# a module with Go 1.18
cd /
go install -v -x github.com/snapcore/snapd/i18n/[email protected]
- name: Run LXD build
run: |
set -eux
Expand Down

0 comments on commit 09245a9

Please sign in to comment.