diff options
author | Franck Cuny <franck@fcuny.net> | 2024-01-26 08:10:34 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-01-26 08:10:34 -0800 |
commit | e8fc52950e7b8a79770addeb134d278d25a1521b (patch) | |
tree | ae91bf06be70c578a0e8a1c96b2271c6a1dabe87 /.github/workflows/ci.yaml | |
parent | fail if the token is missing (diff) | |
download | world-e8fc52950e7b8a79770addeb134d278d25a1521b.tar.gz |
print various environments variable from CI
CI is currently failing with the following error: ``` go: errors parsing go.mod: /home/runner/work/world/world/go.mod:3: invalid go version '1.21.4': must match format 1.23 ``` From [1]: > Before Go 1.21, the initial release of a Go toolchain was version 1.N, not 1.N.0 which makes me think that I'm CI is running with a version of go older than 1.21, while I specify 1.21 in my nix config. If that's the case, something is not correct in the CI environment and I should fix it. Hopefully the script will give me the information I need to debug this. [1] https://go.dev/doc/toolchain#version
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r-- | .github/workflows/ci.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6c70ff3..2c8d647 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,6 +28,7 @@ jobs: experimental-features = nix-command flakes - run: nix flake check - run: nix develop -c echo OK + - run: make build-environment - run: make all - run: ./bin/x509-info github.com - run: ./bin/flake-info |