summaryrefslogtreecommitdiffstats
path: root/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github
diff options
context:
space:
mode:
Diffstat (limited to 'dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github')
-rw-r--r--dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/FUNDING.yml8
-rw-r--r--dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/cifuzz.yaml29
-rw-r--r--dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/docker.yaml22
-rw-r--r--dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/go.yaml115
4 files changed, 174 insertions, 0 deletions
diff --git a/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/FUNDING.yml b/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/FUNDING.yml
new file mode 100644
index 0000000..8f80494
--- /dev/null
+++ b/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/FUNDING.yml
@@ -0,0 +1,8 @@
+# These are supported funding model platforms
+
+github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
+patreon: mattn # Replace with a single Patreon username
+open_collective: mattn # Replace with a single Open Collective username
+ko_fi: # Replace with a single Ko-fi username
+tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
+custom: # Replace with a single custom sponsorship URL
diff --git a/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/cifuzz.yaml b/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/cifuzz.yaml
new file mode 100644
index 0000000..e198c52
--- /dev/null
+++ b/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/cifuzz.yaml
@@ -0,0 +1,29 @@
+name: CIFuzz
+on: [pull_request]
+jobs:
+ Fuzzing:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ sanitizer: [address]
+ steps:
+ - name: Build Fuzzers (${{ matrix.sanitizer }})
+ uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
+ with:
+ oss-fuzz-project-name: 'go-sqlite3'
+ dry-run: false
+ sanitizer: ${{ matrix.sanitizer }}
+ - name: Run Fuzzers (${{ matrix.sanitizer }})
+ uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
+ with:
+ oss-fuzz-project-name: 'go-sqlite3'
+ fuzz-seconds: 600
+ dry-run: false
+ sanitizer: ${{ matrix.sanitizer }}
+ - name: Upload Crash
+ uses: actions/upload-artifact@v1
+ if: failure()
+ with:
+ name: ${{ matrix.sanitizer }}-artifacts
+ path: ./out/artifacts
diff --git a/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/docker.yaml b/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/docker.yaml
new file mode 100644
index 0000000..83faeb6
--- /dev/null
+++ b/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/docker.yaml
@@ -0,0 +1,22 @@
+name: dockerfile
+
+on:
+ workflow_dispatch:
+ push:
+ tags:
+ - 'v*'
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ dockerfile:
+ name: Run Dockerfiles in examples
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Run example - simple
+ run: |
+ cd ./_example/simple
+ docker build -t simple .
+ docker run simple | grep 99\ こんにちは世界099
diff --git a/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/go.yaml b/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/go.yaml
new file mode 100644
index 0000000..2030c57
--- /dev/null
+++ b/dependencies/pkg/mod/github.com/mattn/go-sqlite3@v1.14.16/.github/workflows/go.yaml
@@ -0,0 +1,115 @@
+name: Go
+
+on: [push, pull_request]
+
+jobs:
+
+ test:
+ name: Test
+ runs-on: ${{ matrix.os }}
+ defaults:
+ run:
+ shell: bash
+
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest]
+ go: ['1.17', '1.18', '1.19']
+ fail-fast: false
+ env:
+ OS: ${{ matrix.os }}
+ GO: ${{ matrix.go }}
+ steps:
+ - if: startsWith(matrix.os, 'macos')
+ run: brew update
+
+ - uses: actions/setup-go@v2
+ with:
+ go-version: ${{ matrix.go }}
+
+ - name: Get Build Tools
+ run: |
+ GO111MODULE=on go install github.com/ory/go-acc@latest
+
+ - name: Add $GOPATH/bin to $PATH
+ run: |
+ echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
+
+ - uses: actions/checkout@v2
+
+ - name: 'Tags: default'
+ run: go-acc . -- -race -v -tags ""
+
+ - name: 'Tags: libsqlite3'
+ run: go-acc . -- -race -v -tags "libsqlite3"
+
+ - name: 'Tags: full'
+ run: go-acc . -- -race -v -tags "sqlite_allow_uri_authority sqlite_app_armor sqlite_column_metadata sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_math_functions sqlite_os_trace sqlite_preupdate_hook sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_trace sqlite_unlock_notify sqlite_userauth sqlite_vacuum_incr sqlite_vtable"
+
+ - name: 'Tags: vacuum'
+ run: go-acc . -- -race -v -tags "sqlite_vacuum_full"
+
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v1
+ with:
+ env_vars: OS,GO
+ file: coverage.txt
+
+ test-windows:
+ name: Test for Windows
+ runs-on: windows-latest
+ defaults:
+ run:
+ shell: bash
+
+ strategy:
+ matrix:
+ go: ['1.17', '1.18', '1.19']
+ fail-fast: false
+ env:
+ OS: windows-latest
+ GO: ${{ matrix.go }}
+ steps:
+ - uses: msys2/setup-msys2@v2
+ with:
+ update: true
+ install: mingw-w64-x86_64-toolchain mingw-w64-x86_64-sqlite3
+ msystem: MINGW64
+ path-type: inherit
+
+ - uses: actions/setup-go@v2
+ with:
+ go-version: ${{ matrix.go }}
+
+ - name: Add $GOPATH/bin to $PATH
+ run: |
+ echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
+ shell: msys2 {0}
+
+ - uses: actions/checkout@v2
+
+ - name: 'Tags: default'
+ run: go build -race -v -tags ""
+ shell: msys2 {0}
+
+ - name: 'Tags: libsqlite3'
+ run: go build -race -v -tags "libsqlite3"
+ shell: msys2 {0}
+
+ - name: 'Tags: full'
+ run: |
+ echo 'skip this test'
+ echo go build -race -v -tags "sqlite_allow_uri_authority sqlite_app_armor sqlite_column_metadata sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_math_functions sqlite_preupdate_hook sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_trace sqlite_unlock_notify sqlite_userauth sqlite_vacuum_incr sqlite_vtable"
+ shell: msys2 {0}
+
+ - name: 'Tags: vacuum'
+ run: go build -race -v -tags "sqlite_vacuum_full"
+ shell: msys2 {0}
+
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v2
+ with:
+ env_vars: OS,GO
+ file: coverage.txt
+
+# based on: github.com/koron-go/_skeleton/.github/workflows/go.yml