Skip to content

Commit

Permalink
Merge branch 'master' into bzlmod
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-martin committed Jan 20, 2024
2 parents 7da9336 + 231afab commit 5ba2859
Show file tree
Hide file tree
Showing 9 changed files with 139 additions and 58 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
push:
branches:
- master

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: rust
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
- name: Build
if: ${{ steps.release.outputs.release_created }}
run: |
VERSION=${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
mkdir -p releases
TARGET=x86_64-unknown-linux-gnu
rustup target add $TARGET
cargo build --release --target $TARGET
cp target/$TARGET/release/bazel-lsp releases/bazel-lsp-$VERSION-linux-amd64
- name: Upload Release Artifacts
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./releases/*
22 changes: 22 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Rust

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Check
run: cargo check --verbose
- name: Run tests
run: cargo test --verbose
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

## [0.1.1](https://github.com/cameron-martin/bazel-lsp/compare/v0.1.0...v0.1.1) (2024-01-18)


### Bug Fixes

* Test fix ([b335046](https://github.com/cameron-martin/bazel-lsp/commit/b335046f10f8ece1f240e87ca0341cd5d81e0ac5))
Loading

0 comments on commit 5ba2859

Please sign in to comment.