Skip to content

Commit

Permalink
Use the pushed container instead of installing deps every time
Browse files Browse the repository at this point in the history
  • Loading branch information
Fethbita committed Oct 6, 2024
1 parent 5ffb0ae commit b71cb6f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,11 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: rust:1.81-alpine3.20
image: ghcr.io/${{ github.repository }}:latest

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 #v4.2.0

- name: Install deps
run: |
apk add --no-cache pcsc-lite-dev # For pcsc dependency
apk add --no-cache musl-dev # For tracing-attributes dependency (needs crti.o)
apk add --no-cache pkgconf openssl-dev openssl-libs-static gcc make perl-dev # For openssl dependency (see https://github.com/Fethbita/emrtd/pull/3, https://github.com/rust-lang/docker-rust/issues/167)
# cargo install --version 0.20.1 cargo-audit # For audit step
# cargo install --version 0.15.1 cargo-msrv # For latest supported rust version
- name: Build
run: cargo build --all-features --verbose

Expand Down

0 comments on commit b71cb6f

Please sign in to comment.