Skip to content

Test README automatically #3

Test README automatically

Test README automatically #3

name: Follow README.md
on: [ push, pull_request ]
permissions:
contents: write
packages: read
id-token: write
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- name: login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: install just
uses: extractions/setup-just@v2
with:
just-version: "1.36.0"
- name: Checkout
uses: actions/checkout@v4
- name: refresh-compile-env
run: just --yes refresh-compile-env
- name: fake-nix
run: just --yes fake-nix
- name: install rust
run: just install-rust
- name: just cargo build --debug
run: just cargo build --debug
- name: just cargo build --release
run: just cargo build --release
- name: just cargo test --debug
run: just cargo test --debug
- name: just cargo test --release
run: just cargo test --release