diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23dae51..76fdad9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ main ] + branches: [ main, release/1.0 ] pull_request: - branches: [ main ] + branches: [ main, release/1.0 ] jobs: @@ -15,9 +15,10 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: 1.19.x + # Needed by project-checks + go-version: 1.23.x id: go - name: Setup environment @@ -27,13 +28,13 @@ jobs: echo "${{ github.workspace }}/bin" >> $GITHUB_PATH - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: src/github.com/containerd/btrfs fetch-depth: 25 - name: Project checks - uses: containerd/project-checks@v1 + uses: containerd/project-checks@v1.2.1 with: working-directory: src/github.com/containerd/btrfs diff --git a/btrfs.c b/btrfs.c index f0da012..7fad5a5 100644 --- a/btrfs.c +++ b/btrfs.c @@ -15,6 +15,7 @@ */ #include +#include #include #include #include