Skip to content

Commit 8a8ec99

Browse files
committed
Update
1 parent b87f626 commit 8a8ec99

File tree

20 files changed

+3227
-3304
lines changed

20 files changed

+3227
-3304
lines changed

.config/dotnet-tools.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,32 @@
33
"isRoot": true,
44
"tools": {
55
"fable": {
6-
"version": "4.1.4",
6+
"version": "4.23.0",
77
"commands": [
88
"fable"
9-
]
9+
],
10+
"rollForward": false
1011
},
1112
"paket": {
12-
"version": "7.2.1",
13+
"version": "8.0.3",
1314
"commands": [
1415
"paket"
15-
]
16+
],
17+
"rollForward": false
1618
},
1719
"femto": {
18-
"version": "0.19.0",
20+
"version": "0.21.0",
1921
"commands": [
2022
"femto"
21-
]
23+
],
24+
"rollForward": false
2225
},
2326
"fantomas": {
24-
"version": "6.1.1",
27+
"version": "6.3.16",
2528
"commands": [
2629
"fantomas"
27-
]
30+
],
31+
"rollForward": false
2832
}
2933
}
3034
}

.devcontainer/Dockerfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
1-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2-
// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/dotnet-fsharp
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet-fsharp
33
{
44
"name": "F# (.NET)",
5-
"build": {
6-
"dockerfile": "Dockerfile",
7-
"args": {
8-
"VERSION": "0.204.11",
9-
"VARIANT": "7.0",
10-
"NODE_VERSION": "lts/*",
11-
"PNPM_VERSION": "^8.0.0"
12-
}
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm",
7+
// Features to add to the dev container. More info: https://containers.dev/features.
8+
"features": {
9+
"ghcr.io/devcontainers/features/node:1": {}
1310
},
11+
// Configure tool-specific properties.
1412
"customizations": {
13+
// Configure properties specific to VS Code.
1514
"vscode": {
16-
// Set *default* container specific settings.json values on container create.
17-
"settings": {
18-
"FSharp.dotnetRoot": "/usr/bin"
19-
},
2015
// Add the IDs of extensions you want installed when the container is created.
2116
"extensions": [
2217
"editorconfig.editorconfig",
2318
"Ionide.Ionide-fsharp",
2419
"ms-dotnettools.csharp",
2520
"github.copilot"
26-
]
21+
],
22+
"settings": {
23+
"FSharp.dotnetRoot": "/usr/bin"
24+
}
2725
}
2826
},
2927
// Use 'forwardPorts' to make a list of ports inside the container available locally.
3028
// "forwardPorts": [],
3129
// Use 'postCreateCommand' to run commands after the container is created.
32-
"postCreateCommand": "dotnet run restore"
33-
}
30+
"postCreateCommand": ".devcontainer/install_sass.sh",
31+
"postStartCommand": "dotnet run restore"
32+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
33+
// "remoteUser": "root"
34+
}

.devcontainer/install_sass.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
mkdir /tmp/sass \
3+
&& curl -sSL -o /tmp/sass/sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.80.6/dart-sass-1.80.6-linux-x64.tar.gz \
4+
&& tar xzvf /tmp/sass/sass.tar.gz -C /tmp/sass \
5+
&& sudo mv /tmp/sass/dart-sass/* /usr/local/bin \
6+
&& rm -r /tmp/sass

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
schedule:
16+
interval: weekly

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest]
13-
dotnet: [7.0.305]
13+
dotnet: [8.0.403]
1414
runs-on: ${{ matrix.os }}
1515

1616
steps:
@@ -24,15 +24,15 @@ jobs:
2424
- name: Setup sass
2525
run: |
2626
mkdir -p $GITHUB_WORKSPACE/bin/sass_arch
27-
curl -sSL -o $GITHUB_WORKSPACE/bin/sass_arch/sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.43.4/dart-sass-1.43.4-linux-x64.tar.gz
27+
curl -sSL -o $GITHUB_WORKSPACE/bin/sass_arch/sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.80.6/dart-sass-1.80.6-linux-x64.tar.gz
2828
tar xzvf $GITHUB_WORKSPACE/bin/sass_arch/sass.tar.gz -C $GITHUB_WORKSPACE/bin/sass_arch
29-
mv $GITHUB_WORKSPACE/bin/sass_arch/dart-sass/sass $GITHUB_WORKSPACE/bin/
29+
mv $GITHUB_WORKSPACE/bin/sass_arch/dart-sass/* $GITHUB_WORKSPACE/bin/
3030
rm -r $GITHUB_WORKSPACE/bin/sass_arch
3131
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
3232
- name: Setup pnpm
3333
uses: pnpm/action-setup@v2
3434
with:
35-
version: 8.6.9
35+
version: 9.12.3
3636
- name: Restore
3737
run: dotnet run restore
3838
- name: Run build

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest]
13-
dotnet: [7.0.305]
13+
dotnet: [8.0.403]
1414
runs-on: ${{ matrix.os }}
1515

1616
steps:
@@ -30,13 +30,13 @@ jobs:
3030
mkdir -p $GITHUB_WORKSPACE/bin/sass_arch
3131
curl -sSL -o $GITHUB_WORKSPACE/bin/sass_arch/sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.43.4/dart-sass-1.43.4-linux-x64.tar.gz
3232
tar xzvf $GITHUB_WORKSPACE/bin/sass_arch/sass.tar.gz -C $GITHUB_WORKSPACE/bin/sass_arch
33-
mv $GITHUB_WORKSPACE/bin/sass_arch/dart-sass/sass $GITHUB_WORKSPACE/bin/
33+
mv $GITHUB_WORKSPACE/bin/sass_arch/dart-sass/* $GITHUB_WORKSPACE/bin/
3434
rm -r $GITHUB_WORKSPACE/bin/sass_arch
3535
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
3636
- name: Setup pnpm
37-
uses: pnpm/action-setup@v2.4
37+
uses: pnpm/action-setup@v2
3838
with:
39-
version: 8.6.9
39+
version: 9.12.3
4040
- name: Restore
4141
run: dotnet run restore
4242
- name: Get Changelog Entry

0 commit comments

Comments
 (0)