Skip to content
Draft
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
lint:
name: Format, Clippy & Build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
permissions:
contents: read

Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:

swift-build-and-test:
name: Build and Test Swift Bindings
runs-on: macos-14
runs-on: macos-14-xlarge
permissions:
contents: read

Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

test:
name: Tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
permissions:
contents: read

Expand All @@ -97,7 +97,7 @@ jobs:

deny:
name: Cargo deny
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
permissions:
contents: read
strategy:
Expand All @@ -119,7 +119,7 @@ jobs:

kotlin-build-and-test:
name: Build and Test Kotlin Bindings
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
permissions:
contents: read

Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,36 @@ permissions:

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]
schedule:
- cron: '23 21 * * 0'
- cron: "23 21 * * 0"

jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest-xlarge') || 'ubuntu-22.04-16core' }}
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: rust
build-mode: none
- language: actions
build-mode: none
- language: rust
build-mode: none

# TODO: Review adding Swift and Kotlin languages

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
9 changes: 4 additions & 5 deletions .github/workflows/initiate-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Initiate Release
description: "Initiates a release of the library by creating a PR that bumps the version."

on:
workflow_dispatch:
Expand All @@ -15,7 +14,7 @@ on:

jobs:
initiate-release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
# running releases is only allowed on main
if: github.ref == 'refs/heads/main'

Expand Down Expand Up @@ -107,7 +106,7 @@ jobs:
env:
NEW_VERSION: ${{ steps.version.outputs.new_version }}
RELEASE_NOTES: ${{ steps.release_notes.outputs.release_notes }}
run: |
run: |
# Check if version already exists in changelog
if grep -q "## \[$NEW_VERSION\]" CHANGELOG.md; then
echo "Version $NEW_VERSION already exists in CHANGELOG.md, skipping update"
Expand All @@ -120,10 +119,10 @@ jobs:
echo "" >> temp_changelog.md
echo "$RELEASE_NOTES" >> temp_changelog.md
echo "" >> temp_changelog.md

# Insert the new changelog entry after the header
awk 'NR==1{print; system("cat temp_changelog.md"); next} 1' CHANGELOG.md > new_changelog.md

mv new_changelog.md CHANGELOG.md
rm temp_changelog.md

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
pre-release-checks:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
permissions:
contents: read

Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:

publish-kotlin:
name: Publish Kotlin
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
needs: [pre-release-checks, prepare-kotlin]
permissions:
packages: write
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:

create-github-release:
needs: [pre-release-checks, publish-kotlin, publish-swift]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
permissions:
contents: write

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/relyance-sci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
execute-relyance-sci:
name: Relyance SCI Job
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
permissions:
contents: read

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ on:
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
runs-on: ubuntu-22.04-16core
permissions:
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ github.token }} # granting access only to read pull requests
GITHUB_TOKEN: ${{ github.token }} # granting access only to read pull requests
Loading