mirror of
https://github.com/appleboy/drone-ssh.git
synced 2026-03-05 22:57:00 -05:00
ci: add dynamic Go version selection for CI testing
- Enable testing across Go 1.24 and 1.25 using a matrix strategy - Update the container image to dynamically use the selected Go version Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
8de6c4fd43
commit
732c7194bd
5
.github/workflows/testing.yml
vendored
5
.github/workflows/testing.yml
vendored
@ -30,8 +30,11 @@ jobs:
|
||||
|
||||
testing:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: ["1.24", "1.25"]
|
||||
container:
|
||||
image: golang:1.23-alpine
|
||||
image: golang:${{ matrix.go-version }}-alpine
|
||||
options: --sysctl net.ipv6.conf.all.disable_ipv6=0
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user