-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
30 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Setup | ||
description: "Sets up the workflow" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: crazy-max/ghaction-github-runtime@v3 | ||
- uses: extractions/setup-just@v1 | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-cache-apt | ||
key: var-cache-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-cache-apt | ||
cache-target: /var/cache/apt | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-lib-apt | ||
key: var-lib-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-lib-apt | ||
cache-target: /var/lib/apt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,28 +5,9 @@ jobs: | |
agent: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: crazy-max/ghaction-github-runtime@v3 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: extractions/setup-just@v1 | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-cache-apt | ||
key: var-cache-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-cache-apt | ||
cache-target: /var/cache/apt | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-lib-apt | ||
key: var-lib-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-lib-apt | ||
cache-target: /var/lib/apt | ||
- uses: ./.github/actions/setup | ||
- run: just lint | ||
- run: just test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,33 +22,12 @@ jobs: | |
- run: chmod -R +x ./bin | ||
- run: just bats | ||
docker: | ||
env: | ||
DOCKER: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: crazy-max/ghaction-github-runtime@v3 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: extractions/setup-just@v1 | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-cache-apt | ||
key: var-cache-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-cache-apt | ||
cache-target: /var/cache/apt | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-lib-apt | ||
key: var-lib-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-lib-apt | ||
cache-target: /var/lib/apt | ||
- uses: ./.github/actions/setup | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: executables | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,29 +7,10 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: crazy-max/ghaction-github-runtime@v3 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: extractions/setup-just@v1 | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-cache-apt | ||
key: var-cache-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-cache-apt | ||
cache-target: /var/cache/apt | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-lib-apt | ||
key: var-lib-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-lib-apt | ||
cache-target: /var/lib/apt | ||
- uses: ./.github/actions/setup | ||
- run: just web install | ||
- run: just web build | ||
- run: just build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,27 +5,8 @@ jobs: | |
image: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: crazy-max/ghaction-github-runtime@v3 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: extractions/setup-just@v1 | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-cache-apt | ||
key: var-cache-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-cache-apt | ||
cache-target: /var/cache/apt | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-lib-apt | ||
key: var-lib-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-lib-apt | ||
cache-target: /var/lib/apt | ||
- uses: ./.github/actions/setup | ||
- run: just image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,25 +5,10 @@ jobs: | |
web: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: crazy-max/ghaction-github-runtime@v3 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: extractions/setup-just@v1 | ||
- uses: docker/setup-qemu-action@v3 | ||
- uses: docker/setup-buildx-action@v3 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-cache-apt | ||
key: var-cache-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: reproducible-containers/[email protected] | ||
with: | ||
cache-source: var-cache-apt | ||
cache-target: /var/cache/apt | ||
- uses: actions/cache@v3 | ||
with: | ||
path: var-lib-apt | ||
key: var-lib-apt-${{ hashFiles('./build/ci/Dockerfile') }} | ||
- uses: ./.github/actions/setup | ||
- run: just web install | ||
- run: just web lint | ||
- run: just web test |