Skip to content

Commit

Permalink
Test README automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-noland committed Oct 11, 2024
1 parent 8f25f54 commit ddd41ec
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/check-install-instructions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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

0 comments on commit ddd41ec

Please sign in to comment.