Skip to content

Commit be94976

Browse files
committed
ci and install just
1 parent fe89af0 commit be94976

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: ci
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build_runner:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
packages: write
12+
attestations: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: extractions/setup-just@v1
16+
- name: Docker build
17+
run: just build

dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/actions/actions-runner:2.320.0
1+
FROM ghcr.io/actions/actions-runner:2.321.0
22

33
USER root
44

@@ -20,9 +20,10 @@ RUN apt-get install -y --no-install-recommends \
2020
pkg-config \
2121
apt-transport-https \
2222
ca-certificates \
23-
just \
2423
&& rm -rf /var/lib/apt/lists/*
2524

25+
RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/var/bin
26+
2627
# Copy the start script and make it executable
2728
COPY start.sh /start.sh
2829
RUN chmod +x /start.sh

0 commit comments

Comments
 (0)