mirror of
https://github.com/gofiber/storage.git
synced 2025-12-24 13:29:30 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
paths:
|
|
- 'etcd/**'
|
|
pull_request:
|
|
paths:
|
|
- 'etcd/**'
|
|
workflow_dispatch:
|
|
|
|
name: "Tests Etcd"
|
|
jobs:
|
|
Tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version:
|
|
- 1.23.x
|
|
- 1.24.x
|
|
steps:
|
|
- name: Fetch Repository
|
|
uses: actions/checkout@v6
|
|
- name: Install etcd
|
|
run: |
|
|
docker run -d --name Etcd-server \
|
|
--publish 2379:2379 \
|
|
--publish 2380:2380 \
|
|
--env ALLOW_NONE_AUTHENTICATION=yes \
|
|
--env ETCD_ADVERTISE_CLIENT_URLS=http://etcd-server:2379 \
|
|
bitnami/etcd:latest
|
|
|
|
- name: Install Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: '${{ matrix.go-version }}'
|
|
- name: Run Test
|
|
run: cd ./etcd && go test ./... -v -race
|