-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f25f54
commit ddd41ec
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |