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 3 to 4. - [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/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
34 lines
960 B
YAML
34 lines
960 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
paths:
|
|
- 'sqlite3/**'
|
|
pull_request:
|
|
paths:
|
|
- 'sqlite3/**'
|
|
name: "Tests Sqlite3"
|
|
jobs:
|
|
Tests:
|
|
strategy:
|
|
matrix:
|
|
go-version:
|
|
- 1.19.x
|
|
- 1.20.x
|
|
- 1.21.x
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Fetch Repository
|
|
uses: actions/checkout@v4
|
|
- name: Install Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '${{ matrix.go-version }}'
|
|
- name: Test SQLite3 - with -race check
|
|
if: runner.os != 'Windows'
|
|
run: cd ./sqlite3 && go test ./... -v -race
|
|
- name: Test SQLite3 - without -race check
|
|
if: runner.os == 'Windows'
|
|
run: cd ./sqlite3 && go test ./... -v
|