Compare commits

..

12 commits
v2.1.0 ... main

Author SHA1 Message Date
1e5a6defe2 build: bump rust action to 2.4.1
All checks were successful
/ test (map[name:v1.81.0]) (push) Successful in 1m33s
/ test (map[name:stable]) (push) Successful in 2m11s
/ test (map[name:nightly]) (push) Successful in 4m19s
2024-11-14 10:38:17 +00:00
7b8d4a32df fix: revert only updating toolchain if nightly
All checks were successful
/ test (map[name:v1.81.0]) (push) Successful in 53s
/ test (map[name:stable]) (push) Successful in 4m16s
/ test (map[name:nightly]) (push) Successful in 2m28s
2024-11-14 10:31:08 +00:00
ef62a42e14 build: use pinned version of rust action
All checks were successful
/ test (map[name:stable]) (push) Successful in 3m37s
/ test (map[name:nightly]) (push) Successful in 2m20s
/ test (map[name:v1.81.0]) (push) Successful in 1m2s
Using a branch doesn't help as the action runners cache the action the
first time they use it and don't update when the branch changes.
2024-11-14 09:16:19 +00:00
87e22a6efc docs: update version and contents in readme
All checks were successful
/ test (map[name:stable]) (push) Successful in 1m57s
/ test (map[name:v1.81.0]) (push) Successful in 35s
/ test (map[name:nightly]) (push) Successful in 3m33s
2024-11-14 09:08:24 +00:00
e99b290c26 deps: bump cargo-binstall from 1.9.0 to 1.10.12
All checks were successful
/ test (map[name:nightly]) (push) Successful in 2m15s
/ test (map[name:stable]) (push) Successful in 2m13s
/ test (map[name:v1.81.0]) (push) Successful in 1m27s
2024-11-14 08:15:26 +00:00
2167b80e63 deps: bump cargo-machete from 0.6.2 to 0.7
All checks were successful
/ test (map[name:v1.81.0]) (push) Successful in 1m25s
/ test (map[name:stable]) (push) Successful in 2m26s
/ test (map[name:nightly]) (push) Successful in 3m18s
2024-11-14 08:15:26 +00:00
066233d1ed feat: add cargo-mutants@24.11
All checks were successful
/ test (map[name:v1.81.0]) (push) Successful in 36s
/ test (map[name:nightly]) (push) Successful in 2m33s
/ test (map[name:stable]) (push) Successful in 3m36s
2024-11-14 08:15:26 +00:00
f710a77230 feat: only update toolchain if it is 'nightly'
All checks were successful
/ test (map[name:v1.81.0]) (push) Successful in 46s
/ test (map[name:nightly]) (push) Successful in 2m55s
/ test (map[name:stable]) (push) Successful in 4m54s
2024-11-14 08:15:15 +00:00
Renovate Bot
6ffa2b739c chore(deps): update docker.io/rust docker tag to v1.82.0
All checks were successful
/ test (map[name:nightly]) (push) Successful in 1m35s
/ test (map[name:stable]) (push) Successful in 2m21s
/ test (map[name:v1.81.0]) (push) Successful in 1m12s
2024-10-17 23:47:42 +00:00
870ac63268 docs: update version in examples in readme
All checks were successful
/ test (map[name:nightly]) (push) Successful in 3m54s
/ test (map[name:stable]) (push) Successful in 4m21s
/ test (map[name:v1.81.0]) (push) Successful in 1m17s
2024-10-17 19:46:14 +01:00
decaab505d feat: add xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev to image
All checks were successful
/ test (map[name:nightly]) (push) Successful in 1m25s
/ test (map[name:v1.81.0]) (push) Successful in 25s
/ test (map[name:stable]) (push) Successful in 6m48s
2024-09-30 22:32:54 +01:00
1b5aa6396a feat: add libtag1-dev and libtagc0-dev (>=1.13) to image
All checks were successful
/ test (map[name:nightly]) (push) Successful in 1m43s
/ test (map[name:v1.81.0]) (push) Successful in 44s
/ test (map[name:stable]) (push) Successful in 2m12s
2024-09-25 09:08:40 +01:00
3 changed files with 18 additions and 14 deletions

View file

@ -16,31 +16,31 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Machete - name: Machete
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with: with:
args: cargo machete args: cargo machete
- name: Format - name: Format
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with: with:
args: ${{ matrix.toolchain.name }} cargo fmt --check args: ${{ matrix.toolchain.name }} cargo fmt --check
- name: Clippy - name: Clippy
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with: with:
args: ${{ matrix.toolchain.name }} cargo clippy args: ${{ matrix.toolchain.name }} cargo clippy
- name: Test - name: Test
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with: with:
args: ${{ matrix.toolchain.name }} cargo test args: ${{ matrix.toolchain.name }} cargo test
- name: Build - name: Build
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with: with:
args: ${{ matrix.toolchain.name }} cargo build args: ${{ matrix.toolchain.name }} cargo build
- name: Run - name: Run
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with: with:
args: ${{ matrix.toolchain.name }} cargo run args: ${{ matrix.toolchain.name }} cargo run

View file

@ -1,4 +1,4 @@
FROM docker.io/rust:1.81.0-slim-bookworm FROM docker.io/rust:1.82.0-slim-bookworm
# nodejs - runtime used by forgejo/github actions # nodejs - runtime used by forgejo/github actions
# curl - to download cargo-binstall # curl - to download cargo-binstall
@ -9,11 +9,11 @@ FROM docker.io/rust:1.81.0-slim-bookworm
# git - git # git - git
RUN apt-get update \ RUN apt-get update \
&& \ && \
apt-get satisfy -y "nodejs (>=18.19.0), curl (>=7.88.1), pkg-config (>=1.8.1), libssl-dev (>=3.0.14), git (>=2.39.2), libdbus-1-dev (>= 1.14.10)" \ apt-get satisfy -y "nodejs (>=18.19.0), curl (>=7.88.1), pkg-config (>=1.8.1), libssl-dev (>=3.0.14), git (>=2.39.2), libdbus-1-dev (>= 1.14.10), libtag1-dev (>= 1.13), libtagc0-dev (>= 1.13), xorg-dev (>=7.7), libxcb-shape0-dev (>=0.15), libxcb-xfixes0-dev (>=0.15)" \
&& \ && \
rm -r /var/lib/apt/lists/* rm -r /var/lib/apt/lists/*
RUN curl -L https://github.com/cargo-bins/cargo-binstall/releases/download/v1.9.0/cargo-binstall-x86_64-unknown-linux-musl.tgz -o cargo-binstall.tgz && \ RUN curl -L https://github.com/cargo-bins/cargo-binstall/releases/download/v1.10.12/cargo-binstall-x86_64-unknown-linux-musl.tgz -o cargo-binstall.tgz && \
tar -xzf cargo-binstall.tgz && \ tar -xzf cargo-binstall.tgz && \
rm cargo-binstall.tgz && \ rm cargo-binstall.tgz && \
mv cargo-binstall /usr/local/bin/ mv cargo-binstall /usr/local/bin/
@ -21,7 +21,8 @@ RUN curl -L https://github.com/cargo-bins/cargo-binstall/releases/download/v1.9.
RUN cargo binstall -y \ RUN cargo binstall -y \
cargo-chef@0.1 \ cargo-chef@0.1 \
cargo-hack@0.6 \ cargo-hack@0.6 \
cargo-machete@0.6.2 \ cargo-machete@0.7 \
cargo-mutants@24.11 \
release-plz@0.3 release-plz@0.3
COPY entrypoint.sh / COPY entrypoint.sh /

View file

@ -12,10 +12,10 @@ jobs:
test: test:
runs-on: docker runs-on: docker
steps: steps:
- uses: https://git.kemitix.net/kemitix/rust@v1.80.0 - uses: https://git.kemitix.net/kemitix/rust@v2.4.0
with: with:
args: nightly cargo test args: nightly cargo test
- uses: https://git.kemitix.net/kemitix/rust@v1.80.0 - uses: https://git.kemitix.net/kemitix/rust@v2.4.0
with: with:
args: v1.79.0 cargo build args: v1.79.0 cargo build
``` ```
@ -27,8 +27,7 @@ The `args` is one of the following:
`COMMAND` is the command you want to run. The optional prefix is the Rust toolchain, or version. Allowed values are `nightly`, `stable` or a Rust version. `COMMAND` is the command you want to run. The optional prefix is the Rust toolchain, or version. Allowed values are `nightly`, `stable` or a Rust version.
Where the optional prefix is not given, the `stable` toolchain will be used. Where the optional prefix is not given, the `stable` toolchain will be used. The `stable` version is currently `1.82.0`.
## Contents ## Contents
@ -37,6 +36,10 @@ Where the optional prefix is not given, the `stable` toolchain will be used.
- git - git
- cargo - cargo
- cargo-binstall - cargo-binstall
- cargo-mutants
- cargo-chef
- cargo-hack
- release-plz
## Binary size ## Binary size