Skip to content

Commit

Permalink
Prepare 1.20.1 (#1577)
Browse files Browse the repository at this point in the history
* Prepare 1.20.1

Signed-off-by: Sora Morimoto <[email protected]>

* Generate artifact attestation

Signed-off-by: Sora Morimoto <[email protected]>

* Fix package script

Signed-off-by: Sora Morimoto <[email protected]>

---------

Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto authored Aug 25, 2024
1 parent e0b45f6 commit a1b201f
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 29 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' || github.sha }}
cancel-in-progress: true

permissions: read-all

jobs:
build:
permissions:
attestations: write
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout tree
Expand Down Expand Up @@ -54,6 +60,11 @@ jobs:
if: runner.os == 'Linux'
run: yarn package

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: ocaml-platform.vsix

- name: Upload artifact
if: runner.os == 'Linux'
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -96,24 +107,19 @@ jobs:
steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4

- uses: ocaml/setup-ocaml/lint-opam@v3

lint-fmt:
runs-on: ubuntu-latest

steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4

- uses: ocaml/setup-ocaml/lint-fmt@v3
13 changes: 3 additions & 10 deletions .github/workflows/opam-dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,14 @@ permissions: read-all

jobs:
opam-dependency-submission:
name: Opam Dependency Submission

permissions:
contents: write

runs-on: ubuntu-latest

steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml 4.14
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14"

- name: Opam Dependency Submission
uses: ocaml/setup-ocaml/analysis@v3
ocaml-compiler: 4
- uses: ocaml/setup-ocaml/analysis@v3
11 changes: 0 additions & 11 deletions .vscodeignore

This file was deleted.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

# Unreleased

## 1.20.1

- This was a version bump only, there were no changes
- Update runtime dependencies

## 1.20.0

- Fix syntax for `dune-project.package.(depends|conflicts|depopts)` (#1543)
Expand Down
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ocaml-platform",
"displayName": "OCaml Platform",
"version": "1.20.0",
"version": "1.20.1",
"private": true,
"description": "Official OCaml language extension for VSCode",
"categories": [
Expand All @@ -14,13 +14,22 @@
},
"repository": {
"type": "git",
"url": "https://github.com/ocamllabs/vscode-ocaml-platform"
"url": "git+https://github.com/ocamllabs/vscode-ocaml-platform.git"
},
"license": "MIT",
"publisher": "ocamllabs",
"sideEffects": false,
"type": "commonjs",
"main": "./dist/vscode_ocaml_platform.bc.js",
"files": [
"assets",
"astexplorer/dist",
"dist",
"languages",
"LICENSE",
"snippets",
"syntaxes"
],
"workspaces": [
"astexplorer"
],
Expand All @@ -29,7 +38,7 @@
"test:esy": "node ./tests/runEsyTests.js",
"test:opam": "node ./tests/runOpamTests.js",
"test": "npm-run-all -s test:basic test:opam",
"package": "vsce package --out ocaml-platform.vsix --no-dependencies",
"package": "vsce package --out ocaml-platform.vsix --no-dependencies --allow-unused-files-pattern",
"deploy:vsce": "vsce publish --packagePath ocaml-platform.vsix --no-dependencies",
"deploy:ovsx": "ovsx publish --packagePath ocaml-platform.vsix --no-dependencies",
"check": "biome check",
Expand Down

0 comments on commit a1b201f

Please sign in to comment.