Skip to content

chore(deps): update module github.com/urfave/cli/v2 to v2.27.5 #14

chore(deps): update module github.com/urfave/cli/v2 to v2.27.5

chore(deps): update module github.com/urfave/cli/v2 to v2.27.5 #14

Workflow file for this run

name: Test
on: [pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch Go version
run: |
GO_VERSION=$(perl -ne 'print "$1\n" if /FROM golang:([0-9.]+)/' Dockerfile | head -n1)
[ -n "$GO_VERSION" ] || exit 1
echo "go_version=$GO_VERSION" >> $GITHUB_ENV
- name: Setup Go environment
uses: actions/setup-go@v3
with:
go-version: "${{ env.go_version }}"
- name: Program Test
run: go test ./...
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.0.0
- name: Docker Build Test
run: docker buildx build --load --tag test:test --file ./Dockerfile ./