Skip to content

Commit

Permalink
chore: Update CI configuration (#430)
Browse files Browse the repository at this point in the history
* chore: Update CI configuration

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

---------

Co-authored-by: wwared <[email protected]>
  • Loading branch information
wwared and wwared authored Feb 24, 2025
1 parent bfa8fdd commit a14cc3d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
44 changes: 27 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@ concurrency:

jobs:
test:
runs-on: warp-ubuntu-latest-x64-16x
runs-on: ubuntu-latest
steps:
- name: Set up git private repo access
run: |
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com/".insteadOf ssh://[email protected]
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com".insteadOf https://github.com
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" | tee -a $GITHUB_ENV
- uses: actions/checkout@v4
with:
repository: argumentcomputer/ci-workflows
Expand All @@ -25,21 +20,41 @@ jobs:
with:
packages: opam
- uses: actions/checkout@v4
with:
path: build
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- uses: taiki-e/install-action@wasm-pack
- uses: actions/setup-node@v4
with:
node-version: 23
- uses: actions/checkout@v4
with:
repository: lurk-lab/lurkscript
path: lurkscript
token: ${{ secrets.REPO_TOKEN }}
- name: Install Lurkscript
run: |
mkdir ci-bin
cd ci-bin
CI_BINDIR="$(pwd)"
echo "$CI_BINDIR" >> $GITHUB_PATH
export PATH="$PATH:$CI_BINDIR"
cd ../lurkscript
npm install -g pnpm
pnpm config set global-bin-dir "$CI_BINDIR"
pnpm install
pnpm -r build
pnpm install-cli
- uses: Swatinem/rust-cache@v2
- name: Linux Tests
run: |
cd build
cargo nextest run --profile ci --cargo-profile dev-ci --workspace --run-ignored all --features loam
clippy:
runs-on: ubuntu-latest
steps:
- name: Set up git private repo access
run: |
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com/".insteadOf ssh://[email protected]
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com".insteadOf https://github.com
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" | tee -a $GITHUB_ENV
- uses: actions/checkout@v4
with:
repository: argumentcomputer/ci-workflows
Expand All @@ -61,13 +76,8 @@ jobs:
# uses: EmbarkStudios/cargo-deny-action@v1

bench-regression:
runs-on: warp-ubuntu-latest-x64-32x
runs-on: ubuntu-latest
steps:
- name: Set up git private repo access
run: |
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com/".insteadOf ssh://[email protected]
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com".insteadOf https://github.com
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" | tee -a $GITHUB_ENV
- uses: actions/checkout@v4
with:
repository: argumentcomputer/ci-workflows
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
title: "chore: Update Rust version to `nightly-${{ steps.rust-version.outputs.new-version }}`"
commit-message: "chore: Update Rust version to `nightly-${{ steps.rust-version.outputs.new-version }}`"
labels: "automated-issue"
reviewers: "arthurpaulino, wwared, huitseeker, samuelburnham"
reviewers: "wwared, porcuquine, winston-h-zhang"
body: |
This is an automated PR updating the Rust version from `nightly-${{ steps.rust-version.outputs.old-version }}` to `nightly-${{ steps.rust-version.outputs.new-version }}`
Expand Down

0 comments on commit a14cc3d

Please sign in to comment.