Skip to content

Commit

Permalink
implement inlay hints
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandone committed Jul 30, 2024
1 parent 454a2f4 commit e6b80fd
Show file tree
Hide file tree
Showing 630 changed files with 21,961 additions and 4,287 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,12 @@ jobs:
target: aarch64-unknown-linux-musl
use-cross: true
run-integration-tests: false # Cannot run aarch64 binaries on x86_64
- os: macos-12 # intel
# macos>=14 runs exclusively on aarch64 and will thus fail to execute properly for x64
- os: macos-13 # intel
target: x86_64-apple-darwin
use-cross: false
run-integration-tests: true
- os: macos-14 # aarch64
- os: macos-latest # aarch64
toolchain: stable
target: aarch64-apple-darwin
use-cross: false
Expand Down Expand Up @@ -194,6 +195,13 @@ jobs:
cd lib_project
gleam run
gleam test
# Test adding of deps
gleam add exception # No specifier
gleam add gleam_http@3 # Version specifier
gleam test
# Test documentation generation
gleam docs build
# Assert that module metadata has been written
Expand Down Expand Up @@ -265,14 +273,20 @@ jobs:

- run: cargo fmt --all -- --check

validate-deps:
name: validate-deps
validate:
name: validate
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Ensure no merge commits
uses: NexusPHP/no-merge-commits@v2.1.0
if: github.event_name == 'pull_request'
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -333,7 +347,7 @@ jobs:
deno-version: v1.x

- name: Install Bun
uses: oven-sh/setup-bun@v1
uses: oven-sh/setup-bun@v2

- name: Install Erlang
uses: erlef/setup-beam@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
mv gleam gleam-arm64
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ jobs:
- os: ubuntu-latest
target: aarch64-unknown-linux-musl
use-cross: true
- os: macos-latest
# macos>=14 runs exclusively on aarch64 and will thus fail to execute properly for x64
- os: macos-13
target: x86_64-apple-darwin
use-cross: false
- os: macos-11
- os: macos-latest
target: aarch64-apple-darwin
use-cross: false
- os: windows-latest
Expand Down Expand Up @@ -212,7 +213,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ jobs:
- os: ubuntu-latest
target: aarch64-unknown-linux-musl
use-cross: true
- os: macos-latest
# macos>=14 runs exclusively on aarch64 and will thus fail to execute properly for x64
- os: macos-13
target: x86_64-apple-darwin
use-cross: false
- os: macos-11
- os: macos-latest
target: aarch64-apple-darwin
use-cross: false
- os: windows-latest
Expand Down
7 changes: 0 additions & 7 deletions .gitpod.Dockerfile

This file was deleted.

15 changes: 0 additions & 15 deletions .gitpod.yml

This file was deleted.

Loading

0 comments on commit e6b80fd

Please sign in to comment.