Skip to content

Commit

Permalink
Merge pull request #44 from kpcyrd/update
Browse files Browse the repository at this point in the history
Update acme-micro dependency, clarify license in Cargo.toml, bump Rust edition, add repro-env
  • Loading branch information
kpcyrd authored Oct 4, 2024
2 parents 95c1448 + 63c096b commit 6a57a11
Show file tree
Hide file tree
Showing 7 changed files with 301 additions and 462 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
- uses: actions/checkout@v3

- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -30,23 +29,28 @@ jobs:
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-release-

- name: Install repro-env
run: sudo apt-get install -y repro-env

- name: Build
run: cargo build --release --verbose
run: make

- name: Print sha256 of binary
run: sha256sum target/x86_64-unknown-linux-musl/release/acme-redirect

- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: bin
path: target/release/acme-redirect
path: target/x86_64-unknown-linux-musl/release/acme-redirect

unit-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down
Loading

0 comments on commit 6a57a11

Please sign in to comment.