Skip to content

Commit e79282b

Browse files
author
Einar Rasmussen
committed
Merge branch 'main' into josh-fbals
2 parents 119357f + 64727e2 commit e79282b

75 files changed

Lines changed: 4837 additions & 3423 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/op_rbuilder_checks.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,8 @@ env:
1212

1313
jobs:
1414
lint_and_test:
15-
name: Lint and test
15+
name: Lint and test (nightly)
1616
runs-on: warp-ubuntu-latest-x64-16x
17-
env:
18-
# Set features for the Makefile
19-
FEATURES: ${{ matrix.features }}
20-
strategy:
21-
matrix:
22-
toolchain:
23-
- nightly
24-
features:
25-
- ""
2617

2718
steps:
2819
- name: Checkout sources
@@ -32,7 +23,7 @@ jobs:
3223
- name: Setup rust toolchain
3324
uses: dtolnay/rust-toolchain@stable
3425
with:
35-
toolchain: ${{ matrix.toolchain }}
26+
toolchain: nightly
3627
components: "rustfmt,clippy"
3728

3829
# https://github.com/swatinem/rust-cache
@@ -53,6 +44,9 @@ jobs:
5344
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
5445
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
5546
47+
- name: Install cargo-nextest
48+
uses: taiki-e/install-action@nextest
49+
5650
- name: Install Foundry toolchain
5751
uses: foundry-rs/foundry-toolchain@v1
5852
with:

.github/workflows/release-plz.yaml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: Release-plz
22

33
on:
4-
# Create/update release PR on main push
5-
push:
6-
branches:
7-
- main
84
# Create tags when release PR is merged
95
pull_request:
106
types:
@@ -18,7 +14,10 @@ permissions:
1814

1915
jobs:
2016
release-plz:
21-
name: Release-plz
17+
name: Create release tags
18+
if: |
19+
github.event.pull_request.merged == true &&
20+
contains(github.event.pull_request.labels.*.name, 'release')
2221
runs-on: ubuntu-latest
2322
steps:
2423
- name: Checkout repository
@@ -30,20 +29,7 @@ jobs:
3029
- name: Install Rust toolchain
3130
uses: dtolnay/rust-toolchain@stable
3231

33-
- name: Run release-plz release-pr
34-
if: github.event_name == 'push' && github.ref_type == 'branch'
35-
uses: release-plz/action@v0.5
36-
with:
37-
command: release-pr
38-
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
4132
- name: Create tags on release PR merge
42-
if: >-
43-
github.event_name == 'pull_request' &&
44-
github.event.pull_request.merged == true &&
45-
contains(github.event.pull_request.labels.*.name, 'release') &&
46-
github.event.pull_request.user.login == 'github-actions[bot]'
4733
uses: release-plz/action@v0.5
4834
with:
4935
command: release

0 commit comments

Comments
 (0)