Skip to content

Commit

Permalink
Just straight up try running it on GitHub-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Dec 6, 2023
1 parent b61a868 commit e27a203
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release-plz.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Release-plz
name: release-plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main
branches: ["main"]

jobs:
release-plz:
Expand All @@ -18,10 +17,8 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
12 changes: 2 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,17 @@ name: test

on:
push:
branches:
- main
branches: ["main"]
pull_request:
merge_group:

jobs:
test:
env:
RUSTC_WRAPPER: sccache
CARGO_INCREMENTAL: 0
CARGO_HOME: /vol/cargo
runs-on: self-hosted
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run tests
run: |
cd ${{ github.workspace }}
sccache --zero-stats
cargo clippy
just ci-test
sccache --show-stats

0 comments on commit e27a203

Please sign in to comment.