Skip to content

Commit e4cc928

Browse files
authored
Various cleanups to CI (vapor#359)
* Don't need the BUILDING_DOCC hack (and thus the extra exports check CI job) anymore. MASSIVELY simplify the projectboard workflow. Reenable CI coverage for the main nightly snapshot since the bug that was crashing the compiler's been fixed. * Use the new reusable project boards workflow that needs no extra work
1 parent 2df54bc commit e4cc928

File tree

3 files changed

+5
-40
lines changed

3 files changed

+5
-40
lines changed

.github/workflows/projectboard.yml

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,7 @@ on:
55
types: [reopened, closed, labeled, unlabeled, assigned, unassigned]
66

77
jobs:
8-
setup_matrix_input:
9-
runs-on: ubuntu-latest
10-
11-
steps:
12-
- id: set-matrix
13-
run: |
14-
output=$(curl ${{ github.event.issue.url }}/labels | jq '.[] | .name')
15-
16-
echo '======================'
17-
echo 'Process incoming data'
18-
echo '======================'
19-
json=$(echo $output | sed 's/"\s"/","/g')
20-
echo $json
21-
echo "::set-output name=matrix::$(echo $json)"
22-
outputs:
23-
issueTags: ${{ steps.set-matrix.outputs.matrix }}
24-
25-
Manage_project_issues:
26-
needs: setup_matrix_input
27-
uses: vapor/ci/.github/workflows/issues-to-project-board.yml@main
28-
with:
29-
labelsJson: ${{ needs.setup_matrix_input.outputs.issueTags }}
30-
secrets:
31-
PROJECT_BOARD_AUTOMATION_PAT: "${{ secrets.PROJECT_BOARD_AUTOMATION_PAT }}"
8+
update_project_boards:
9+
name: Update project boards
10+
uses: vapor/ci/.github/workflows/update-project-boards-for-issue.yml@reusable-workflows
11+
secrets: inherit

.github/workflows/test.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ jobs:
2626
# https://github.com/apple/swift-package-manager/issues/5853
2727
- container: swift:5.8-jammy
2828
coverage: false
29-
# https://github.com/apple/swift/issues/65064
30-
- container: swiftlang/swift:nightly-main-jammy
31-
coverage: false
3229
container: ${{ matrix.container }}
3330
runs-on: ubuntu-latest
3431
env:
@@ -181,15 +178,3 @@ jobs:
181178
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
182179
- name: API breaking changes
183180
run: swift package diagnose-api-breaking-changes origin/main
184-
185-
test-exports:
186-
name: Test exports
187-
runs-on: ubuntu-latest
188-
container: swift:5.8-jammy
189-
steps:
190-
- name: Check out package
191-
uses: actions/checkout@v3
192-
with:
193-
fetch-depth: 0
194-
- name: Build
195-
run: swift build -Xswiftc -DBUILDING_DOCC

Sources/PostgresNIO/Utilities/Exports.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@_documentation(visibility: internal) @_exported import NIOSSL
55
@_documentation(visibility: internal) @_exported import struct Logging.Logger
66

7-
#elseif !BUILDING_DOCC
7+
#else
88

99
// TODO: Remove this with the next major release!
1010
@_exported import NIO

0 commit comments

Comments
 (0)