8000 pnpm-lock.yaml · Dracks/mr-scrooge@1319c05 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update all non-major dependencies #446

Update all non-major dependencies

Update all non-major dependencies #446

Workflow file for this run

name: Test Server
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-24.04-arm
container: swift:6.1
outputs:
md5: ${{ steps.md5.outputs.value }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install zstd
run: |
apt-get update -y
apt-get install -y zstd curl
- name: Md5
id: md5
run: echo "value=$(md5sum Package.resolved)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-spm-${{ steps.md5.outputs.value }}
update: true
- name: Resolve dependencies
run: swift package resolve --force-resolved-versions
- name: Build everything
run: swift build --build-tests --enable-code-coverage
test:
name: Test
needs: build
runs-on: ubuntu-24.04-arm
container: swift:6.1
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install zstd
run: |
apt-get update -y
apt-get install -y zstd curl
- uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-spm-${{ needs.build.outputs.md5 }}
- name: Run tests
run: swift test --no-parallel --skip-build --enable-code-coverage
- name: Prepare Coverage
run:
llvm-cov export -format="lcov" .build/debug/mr-scroogePackageTests.xctest -instr-profile .build/debug/codecov/default.profdata > info.lcov
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
0