Skip to content

Commit

Permalink
chore: address pr comments - remove unused ci jobs and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
louisjoecodes committed May 7, 2024
1 parent 5c5913a commit 48f9497
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 89 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,53 +80,6 @@ jobs:
run: sudo apt-get install -y shellcheck
- name: Check shells
run: make bash_lint
rust-compile:
name: Rust Compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # ratchet:actions/checkout@v3
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@35cdeaf60df48fb1fb7eac25fea4ebde1f72fc46 # ratchet:Homebrew/actions/setup-homebrew@master
- name: Install buf
run: brew install bufbuild/buf/buf
- run: make proto
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # ratchet:Swatinem/rust-cache@v2
- uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # ratchet:actions-rs/cargo@v1
with:
command: check
rust-lint:
name: Rust Lint
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # ratchet:actions/checkout@v4
- name: Install stable toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@35cdeaf60df48fb1fb7eac25fea4ebde1f72fc46 # ratchet:Homebrew/actions/setup-homebrew@master
- name: Install buf
run: brew install bufbuild/buf/buf
- run: make proto
- name: Run cargo fmt
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # ratchet:actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run clippy
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # ratchet:actions-rs/cargo@v1
with:
command: clippy
rust-test:
name: Rust Test
runs-on: ubuntu-latest
Expand Down
40 changes: 0 additions & 40 deletions .hacking/scripts/build_for_releases.sh

This file was deleted.

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ check_versions_match: ## Checks the version of the extension matches the CLI

.PHONY: prettier_fmt
prettier_fmt: ## Formats all the yaml files
npx prettier --write **/*.{yaml,yml}
pnpm prettier --write **/*.{yaml,yml}

.PHONY: prettier_lint
prettier_lint: ## Lints all the yaml files
npx prettier --check **/*.{yaml,yml}
pnpm prettier --check **/*.{yaml,yml}

.PHONY: help
help: ## Display this help screen
Expand Down

0 comments on commit 48f9497

Please sign in to comment.