Skip to content

fix(deps): update module golang.org/x/term to v0.41.0 #631

fix(deps): update module golang.org/x/term to v0.41.0

fix(deps): update module golang.org/x/term to v0.41.0 #631

Workflow file for this run

name: Test spread
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
run-tests:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run unit tests
run: |
sudo snap install go --classic
go test -v ./...
- name: Build local spread
run: |
mkdir spread-testing
cd spread-testing
git init
git remote add origin https://github.com/canonical/spread.git
# Pin spread to a known stable commit; update only after verification.
git fetch --depth=1 origin ae284792596e00d325a1787604fe4ec7e00574aa
git checkout FETCH_HEAD
go build -o spread-testing ./cmd/spread
sudo install -m755 spread-testing /usr/bin/spread
cd ..
rm -Rf spread-testing
- name: Run spread tests
run: |
uname -a
SPREAD_GOOGLE_KEY=$(echo "${{ secrets.SPREAD_GOOGLE_KEY }}" | base64 -d) /usr/bin/spread google:
- name: Discard spread workers
if: always()
run: |
shopt -s nullglob
for r in .spread-reuse.*.yaml; do
spread -discard -reuse-pid="$(echo "$r" | grep -o -E '[0-9]+')"
done