diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..c54f2d2 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,21 @@ +name: "Test in a Raku container" +on: [ push, pull_request ] +jobs: + test: + runs-on: ubuntu-latest + permissions: + packages: read + container: + image: ghcr.io/jj/raku-zef-gha + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Cache installed dists + uses: actions/cache@v2 + id: meta6 + with: + path: ~/.raku/ + key: ${{ runner.os }}-${{ hashFiles('META6.json') }} + - name: Test and install for more tests + run: | + zef install .