Skip to content

Bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible #247

Bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible

Bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible #247

name: PR unit tests
# Triggers the workflow on push or pull request events
on: [push, pull_request]
permissions: read-all
concurrency:
# On master/release, we don't want any jobs cancelled
# On PR branches, we cancel the job if new commits are pushed
# More info: https://stackoverflow.com/a/70972844/1261287
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
build:
name: PR unit tests
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: install podman
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install podman
podman machine init
podman machine start
echo "DOCKER_HOST=unix:///Users/runner/.local/share/containers/podman/machine/qemu/podman.sock" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ^1.17
id: go
- uses: imjasonh/[email protected]
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run tests
run: |
make test