Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/legal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: legal
on: [push]
jobs:
legal:
uses: rainlanguage/rainix/.github/workflows/rainix-sol-legal.yaml@main
21 changes: 0 additions & 21 deletions .github/workflows/manual-rs-release.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/nix-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: nix-build
on: [push]
jobs:
nix-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: nixbuild/nix-quick-install-action@v30
with:
nix_conf: |
keep-env-derivations = true
keep-outputs = true
# Push the freshly-built `.#rain` derivation to the rainlanguage Cachix
# cache so downstream consumers (e.g. `nix shell
# github:rainlanguage/rain.cli`) hit the cache instead of recompiling.
# continue-on-error lets a missing token / cache outage degrade to a
# normal build.
- uses: cachix/cachix-action@v15
continue-on-error: true
with:
name: rainlanguage
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
# No store-watching daemon: it checkpoints the nix DB concurrently
# with cache-nix-action and corrupts it. Push happens in the post step.
useDaemon: false
- name: Restore and save Nix store
uses: nix-community/cache-nix-action@v7
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
gc-max-store-size-linux: 8G
- run: nix build .#rain --print-build-logs
14 changes: 14 additions & 0 deletions .github/workflows/package-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Package Release
on:
push:
branches:
- main
jobs:
release:
# Bump + publish rain_cli to crates.io on every push to main, preserving
# the existing alpha-pre-release cadence.
uses: rainlanguage/rainix/.github/workflows/rainix-autopublish.yaml@main
with:
crate: rain_cli
level: alpha
secrets: inherit
5 changes: 5 additions & 0 deletions .github/workflows/rs-static.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: rs-static
on: [push]
jobs:
rs-static:
uses: rainlanguage/rainix/.github/workflows/rainix-rs-static.yaml@main
5 changes: 5 additions & 0 deletions .github/workflows/rs-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: rs-test
on: [push]
jobs:
rs-test:
uses: rainlanguage/rainix/.github/workflows/rainix-rs-test.yaml@main
20 changes: 0 additions & 20 deletions .github/workflows/test-build.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
target
result
lib
lib
.pre-commit-config.yaml
Empty file removed .gitmodules
Empty file.
Loading
Loading