chore(deps): bump github.com/docker/distribution from 2.7.1+incompatible to 2.8.2+incompatible #585
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
name: Testapalooza | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- name: Cache Go mods | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('./go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- run: go mod download | |
- name: Install Subo | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh repo clone suborbital/subo | |
cd subo | |
make subo | |
cd ../ | |
rm -rf subo | |
- name: Build testdata | |
run: | | |
make testdata/docker/dev | |
# Test first with default (Wasmer) runtime, and then again with Wasmtime runtime | |
- name: Run test | |
run: | | |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} | |
make test | |
- name: Run test with Wasmer | |
run: | | |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} | |
make test/wasmer | |
- name: Install WasmEdge | |
run: | | |
make deps/wasmedge | |
- name: Run test with WasmEdge | |
run: | | |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} | |
source $HOME/.wasmedge/env | |
make test/wasmedge |