diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7c1a1da..7994acc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,15 +16,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v7 with: enable-cache: true - name: "Set up Python" - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version-file: ".python-version" @@ -39,15 +39,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v7 with: enable-cache: true - name: "Set up Python" - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version-file: ".python-version" diff --git a/.github/workflows/publish-tagged.yml b/.github/workflows/publish-tagged.yml index 50563d4..d9a41e9 100644 --- a/.github/workflows/publish-tagged.yml +++ b/.github/workflows/publish-tagged.yml @@ -16,7 +16,7 @@ jobs: id-token: "write" contents: "read" steps: - - uses: "actions/checkout@v4" + - uses: actions/checkout@v6 with: ref: "${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || '' }}" - uses: "DeterminateSystems/nix-installer-action@main" @@ -28,9 +28,14 @@ jobs: include-output-paths: true snap-publish: - runs-on: ubuntu-latest + strategy: + matrix: + system: + - ubuntu-24.04 + - ubuntu-24.04-arm + runs-on: ${{ matrix.system }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: snapcore/action-build@v1 id: build - uses: snapcore/action-publish@v1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 42e5a6f..90c32c8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,25 +11,20 @@ jobs: VERSION: ${{ steps.build.outputs.VERSION }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Install uv - uses: astral-sh/setup-uv@v4 + uses: astral-sh/setup-uv@v7 with: enable-cache: true - name: "Set up Python" - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version-file: ".python-version" - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Check for tag and build package id: build run: | @@ -42,7 +37,7 @@ jobs: uv build - name: Store the distribution packages - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: distfiles path: dist/ @@ -57,17 +52,14 @@ jobs: id-token: write # IMPORTANT: mandatory for sigstore steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Download all the dists - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: distfiles path: dist/ - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v3.0.0 + uses: sigstore/gh-action-sigstore-python@v3 with: inputs: >- ./dist/*.tar.gz @@ -89,7 +81,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download all the dists - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: distfiles path: dist/ diff --git a/snapcraft.yaml b/snapcraft.yaml index 589180a..a437c8b 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,11 +1,20 @@ name: craft-ls +title: Craft Tools Language Server summary: A Language Server Protocol implementation for *craft files. description: | craft-ls enables editors that support the LSP to get quality of life improvements while working on *craft configuration files. +license: BSD-3-Clause +source-code: + - https://github.com/Batalex/craft-ls +issues: + - https://github.com/Batalex/craft-ls/issues/new + +adopt-info: craft-ls base: core24 confinement: strict -adopt-info: craft-ls -license: BSD-3-Clause +platforms: + amd64: + arm64: parts: craft-ls: