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
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Release

on:
pull_request:
push:
tags:
- '*' # Push events to matching v*, i.e. v1.0, v20.15.10
Expand All @@ -15,22 +16,19 @@ env:
jobs:
checks:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest

toolchain:
- 1.82.0
- 1.88.0

steps:
- uses: actions/checkout@v2
- uses: extractions/setup-just@v1
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
just-version: 1.10.0
- uses: cargo-bins/cargo-binstall@main
tool: [email protected],[email protected]
- uses: Swatinem/rust-cache@v2
with:
key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-${{ matrix.toolchain }}
Expand All @@ -41,19 +39,18 @@ jobs:
run: |
sudo apt-get install -y musl-tools
rustup target add x86_64-unknown-linux-musl
cargo binstall cross --no-confirm
- name: Build Musl binary
run: just build-release-binary
- name: Build other binaries
run: just binaries true
- name: Generate artifacts
run: just cp-binaries
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: binaries
path: artifacts/*
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: artifacts/*
Expand Down
23 changes: 10 additions & 13 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,22 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest

toolchain:
- 1.82.0
- 1.88.0
- stable
- nightly

steps:
- uses: actions/checkout@v2
- uses: extractions/setup-just@v1
with:
just-version: 1.10.0
- uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-${{ matrix.toolchain }}
tool: [email protected]
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-${{ matrix.toolchain }}
- name: Install musl tools
run: |
sudo apt-get install -y musl-tools
Expand All @@ -58,7 +56,6 @@ jobs:
- name: Run pid1 tests
run: just test-init-image
if: runner.os == 'Linux'
- name: clippy
run: cargo clippy -- --deny "warnings"
- name: fmt
run: cargo fmt -- --check
- name: Lint
run: just lint
if: matrix.toolchain == '1.88.0'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/target
/etc/simple
.env
.envrc
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v0.1.5

- Bump versions.
- Remove confusing non PID 1 log message.

# v0.1.4

- Add integration testing
Expand Down
Loading