Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: CI

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build-windows:
runs-on: windows-latest
Expand All @@ -15,7 +20,7 @@ jobs:
mingw-w64-x86_64-cmake
mingw-w64-x86_64-openssl
mingw-w64-x86_64-gcc
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: recursive
- shell: msys2 {0}
Expand All @@ -29,10 +34,9 @@ jobs:
run: |
brew update
brew install openssl autoconf
brew link openssl --force
pkg-config --cflags openssl
pkg-config --libs openssl
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: recursive
- name: make
Expand All @@ -59,7 +63,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev autoconf
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: recursive
- name: make
Expand Down Expand Up @@ -100,7 +104,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev autoconf
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: recursive
- name: DB-focused tests
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,28 @@ on:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write
jobs:
deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

- name: 设置 Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 23
node-version: 22
cache: npm
cache-dependency-path: '**/package-lock.json'
cache-dependency-path: docs/package-lock.json

- name: 安装依赖
working-directory: ./docs
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
release:
types: [ published ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -19,7 +23,7 @@
variant: [alpine, slim]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: recursive

Expand Down Expand Up @@ -70,9 +74,11 @@
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
clean:
needs: build
if: github.ref == 'refs/heads/master' || github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- name: ghcr.io cleanup action
uses: dataaxiom/ghcr-cleanup-action@v1
with:
delete-untagged: true

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Loading