@@ -18,10 +18,10 @@ jobs:
1818 echo "127.0.0.1 elpmaxe.letsencrypt.org" | sudo tee -a /etc/hosts
1919 # https://github.com/marketplace/actions/checkout
2020 - name : Check out code
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v6
2222 # https://github.com/marketplace/actions/setup-go-environment
2323 - name : Set up Go
24- uses : actions/setup-go@v5
24+ uses : actions/setup-go@v6
2525 with :
2626 go-version-file : go.mod
2727 - name : Install packages
4242 runs-on : ubuntu-latest
4343 steps :
4444 - name : Check out code
45- uses : actions/checkout@v4
45+ uses : actions/checkout@v6
4646 - name : Set up Go
47- uses : actions/setup-go@v5
47+ uses : actions/setup-go@v6
4848 with :
4949 go-version-file : go.mod
5050 - name : go install commands
@@ -63,12 +63,12 @@ jobs:
6363 name : Test lego with EAB
6464 runs-on : ubuntu-latest
6565 steps :
66- - uses : actions/checkout@v4
67- - uses : actions/setup-go@v5
66+ - uses : actions/checkout@v6
67+ - uses : actions/setup-go@v6
6868 with :
69- go-version-file : go.mod
69+ go-version : stable
7070 - name : Install lego cli
71- run : go install github.com/go-acme/lego/v4/cmd/lego @latest
71+ run : go install github.com/go-acme/lego/v5 @latest
7272 - name : go install commands
7373 run : go install -v ./cmd/...
7474 - name : launch pebble
@@ -77,21 +77,20 @@ jobs:
7777 pebble -config test/config/pebble-config-external-account-bindings.json &
7878 - run : |
7979 LEGO_CA_CERTIFICATES=./test/certs/pebble.minica.pem \
80- lego --accept-tos \
80+ lego run \
81+ --accept-tos \
8182 --server=https://localhost:14000/dir \
82- --email="pebble-test@example.letsencrypt.org" \
8383 --domains=example.letsencrypt.org \
8484 --eab \
85- --kid kid-3 \
86- --hmac=HjudV5qnbreN-n9WyFSH-t4HXuEx_XFen45zuxY-G1h6fr74V3cUM_dVlwQZBWmc \
87- --http --http.port=:5002 \
88- run
85+ --eab.kid kid-3 \
86+ --eab.hmac=HjudV5qnbreN-n9WyFSH-t4HXuEx_XFen45zuxY-G1h6fr74V3cUM_dVlwQZBWmc \
87+ --http --http.address=:5002
8988 go-linux :
9089 name : Run Go tests on Linux
9190 runs-on : ubuntu-latest
9291 steps :
9392 - name : Check out code
94- uses : actions/checkout@v4
93+ uses : actions/checkout@v6
9594 # Run project unit tests (with the race detector enabled and atomic coverage profile collection)
9695 - name : unittests
9796 run : go test -v -race -covermode=atomic -coverprofile=profile.cov ./...
0 commit comments