Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update CI for swift, ocaml, and C# #62

Merged
merged 4 commits into from
Jan 17, 2025
Merged
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
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ env:
RUST_BACKTRACE: short
RUSTFLAGS: "-D warnings"
RUSTUP_MAX_RETRIES: 10
# https://stackoverflow.com/questions/59119904/process-terminated-couldnt-find-a-valid-icu-package-installed-on-the-system-in
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1

jobs:
lint:
Expand Down Expand Up @@ -71,11 +73,9 @@ jobs:
echo '/github/home/.local/bin' >> $GITHUB_PATH

- name: Setup Additional Languages (.Net)
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
2.1.x
3.1.x
dotnet-version: '6.0.x'

- name: Setup Additional Languages (golang)
uses: actions/setup-go@v3
Expand All @@ -99,10 +99,10 @@ jobs:
uses: swift-actions/setup-swift@bb83339d1e8577741bdc6c65ba551ce7dc0fb854
with:
# older swift versions are having gpg issues https://github.com/swift-actions/setup-swift/issues/520
swift-version: "5.7"
swift-version: "5.10.1"

- name: Setup Additional Languages (ocaml)
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.0
opam-disable-sandboxing: true
Expand Down
2 changes: 1 addition & 1 deletion serde-generate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The following programming languages are fully supported as target languages:
* Python 3 (requires numpy >= 1.20.1)
* Rust 2018
* Go >= 1.14
* C# (NetCoreApp >= 2.1)
* C# (NetCoreApp >= 6.0)
* Swift 5.3
* OCaml
* Dart >= 3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net6</TargetFrameworks>
<IsPackable>false</IsPackable>
<LangVersion>7.2</LangVersion>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion serde-generate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! * Python 3 (requires numpy >= 1.20.1)
//! * Rust 2018
//! * Go >= 1.14
//! * C# (NetCoreApp >= 2.1)
//! * C# (NetCoreApp >= 6.0)
//! * Swift 5.3
//! * OCaml
//! * Dart >= 3
Expand Down
2 changes: 1 addition & 1 deletion serde-generate/tests/csharp_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fn make_test_project(
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net6</TargetFrameworks>
<IsPackable>false</IsPackable>
<LangVersion>7.2</LangVersion>
</PropertyGroup>
Expand Down
Loading