Skip to content

Commit 5b7dabb

Browse files
Use public images and prep for next release (#16)
* bump bedrock, update dockerfile * update pathing * pin to dev for now * use env var, determine realistic tag * bump * include hook scripts in container oops * Update tests/event-handlers.js Co-authored-by: Funny <[email protected]> * Update data/basalt.Dockerfile Co-authored-by: Funny <[email protected]> * rename fn * update version * bumped bedrock * fixed dep * version * update Dockerfile to copy scripts into context * Update README, remove scripts from Dockerfile and simply copy all, add dockerignore, persist logs, standardize directories and networking practices * Update README.md Co-authored-by: Funny <[email protected]> --------- Co-authored-by: Funny <[email protected]>
1 parent 33db5e8 commit 5b7dabb

File tree

9 files changed

+1237
-599
lines changed

9 files changed

+1237
-599
lines changed

.github/workflows/check.yml

Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -5,92 +5,92 @@
55
# - hack: check combinations of feature flags
66
# - msrv: check that the msrv specified in the crate is correct
77
permissions:
8-
contents: read
8+
contents: read
99
# This configuration allows maintainers of this repo to create a branch and pull request based on
1010
# the new branch. Restricting the push trigger to the main branch ensures that the PR only gets
1111
# built once.
1212
on:
13-
push:
14-
branches: [main]
15-
pull_request:
13+
push:
14+
branches: [main]
15+
pull_request:
1616
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR. Ensures that
1717
# we don't waste CI time, and returns results quicker https://github.com/jonhoo/rust-ci-conf/pull/5
1818
concurrency:
19-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
20-
cancel-in-progress: true
19+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
20+
cancel-in-progress: true
2121
name: check
2222
jobs:
23-
fmt:
24-
runs-on: ubuntu-latest
25-
name: stable / fmt
26-
steps:
27-
- uses: actions/checkout@v4
28-
with:
29-
submodules: true
30-
- name: Install stable
31-
uses: dtolnay/rust-toolchain@stable
32-
with:
33-
components: rustfmt
34-
- name: cargo fmt --check
35-
run: cargo fmt --check
36-
clippy:
37-
runs-on: ubuntu-latest
38-
name: ${{ matrix.toolchain }} / clippy
39-
permissions:
40-
contents: read
41-
checks: write
42-
strategy:
43-
fail-fast: false
44-
matrix:
45-
# Get early warning of new lints which are regularly introduced in beta channels.
46-
toolchain: [stable, beta]
47-
steps:
48-
- uses: actions/checkout@v4
49-
with:
50-
submodules: true
51-
- name: Install ${{ matrix.toolchain }}
52-
uses: dtolnay/rust-toolchain@master
53-
with:
54-
toolchain: ${{ matrix.toolchain }}
55-
components: clippy
56-
- name: cargo clippy
57-
uses: giraffate/clippy-action@v1
58-
with:
59-
reporter: 'github-pr-check'
60-
github_token: ${{ secrets.GITHUB_TOKEN }}
61-
hack:
62-
# cargo-hack checks combinations of feature flags to ensure that features are all additive
63-
# which is required for feature unification
64-
runs-on: ubuntu-latest
65-
name: ubuntu / stable / features
66-
steps:
67-
- uses: actions/checkout@v4
68-
with:
69-
submodules: true
70-
- name: Install stable
71-
uses: dtolnay/rust-toolchain@stable
72-
- name: cargo install cargo-hack
73-
uses: taiki-e/install-action@cargo-hack
74-
# intentionally no target specifier; see https://github.com/jonhoo/rust-ci-conf/pull/4
75-
# --feature-powerset runs for every combination of features
76-
- name: cargo hack
77-
run: cargo hack --feature-powerset check
78-
msrv:
79-
# check that we can build using the minimal rust version that is specified by this crate
80-
runs-on: ubuntu-latest
81-
# we use a matrix here just because env can't be used in job names
82-
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
83-
strategy:
84-
matrix:
85-
msrv: ["1.81"]
86-
name: ubuntu / ${{ matrix.msrv }}
87-
steps:
88-
- uses: actions/checkout@v4
89-
with:
90-
submodules: true
91-
- name: Install ${{ matrix.msrv }}
92-
uses: dtolnay/rust-toolchain@master
93-
with:
94-
toolchain: ${{ matrix.msrv }}
95-
- name: cargo +${{ matrix.msrv }} check
96-
run: cargo check
23+
fmt:
24+
runs-on: ubuntu-latest
25+
name: stable / fmt
26+
steps:
27+
- uses: actions/checkout@v4
28+
with:
29+
submodules: true
30+
- name: Install stable
31+
uses: dtolnay/rust-toolchain@stable
32+
with:
33+
components: rustfmt
34+
- name: cargo fmt --check
35+
run: cargo fmt --check
36+
clippy:
37+
runs-on: ubuntu-latest
38+
name: ${{ matrix.toolchain }} / clippy
39+
permissions:
40+
contents: read
41+
checks: write
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
# Get early warning of new lints which are regularly introduced in beta channels.
46+
toolchain: [stable, beta]
47+
steps:
48+
- uses: actions/checkout@v4
49+
with:
50+
submodules: true
51+
- name: Install ${{ matrix.toolchain }}
52+
uses: dtolnay/rust-toolchain@master
53+
with:
54+
toolchain: ${{ matrix.toolchain }}
55+
components: clippy
56+
- name: cargo clippy
57+
uses: giraffate/clippy-action@v1
58+
with:
59+
reporter: "github-pr-check"
60+
github_token: ${{ secrets.GITHUB_TOKEN }}
61+
hack:
62+
# cargo-hack checks combinations of feature flags to ensure that features are all additive
63+
# which is required for feature unification
64+
runs-on: ubuntu-latest
65+
name: ubuntu / stable / features
66+
steps:
67+
- uses: actions/checkout@v4
68+
with:
69+
submodules: true
70+
- name: Install stable
71+
uses: dtolnay/rust-toolchain@stable
72+
- name: cargo install cargo-hack
73+
uses: taiki-e/install-action@cargo-hack
74+
# intentionally no target specifier; see https://github.com/jonhoo/rust-ci-conf/pull/4
75+
# --feature-powerset runs for every combination of features
76+
- name: cargo hack
77+
run: cargo hack --feature-powerset check
78+
msrv:
79+
# check that we can build using the minimal rust version that is specified by this crate
80+
runs-on: ubuntu-latest
81+
# we use a matrix here just because env can't be used in job names
82+
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
83+
strategy:
84+
matrix:
85+
msrv: ["1.86"]
86+
name: ubuntu / ${{ matrix.msrv }}
87+
steps:
88+
- uses: actions/checkout@v4
89+
with:
90+
submodules: true
91+
- name: Install ${{ matrix.msrv }}
92+
uses: dtolnay/rust-toolchain@master
93+
with:
94+
toolchain: ${{ matrix.msrv }}
95+
- name: cargo +${{ matrix.msrv }} check
96+
run: cargo check

0 commit comments

Comments
 (0)