Skip to content

Truncate file prior writing to it in order to avoid data corruption #87

Truncate file prior writing to it in order to avoid data corruption

Truncate file prior writing to it in order to avoid data corruption #87

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
macos:
runs-on: macOS-13
steps:
- name: Checkout
uses: actions/checkout@v4
- name: SPM build
run: swift build
linux:
runs-on: ubuntu-latest
strategy:
matrix:
image:
- swift:5.8
- swift:5.9
- swift:5.10
services:
localstack:
image: localstack/localstack
container:
image: ${{ matrix.image }}
env:
LOCALSTACK_ENDPOINT : "http://localstack:4566"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
run: swift test