Skip to content

Bump github.com/go-git/go-git/v5 from 5.16.0 to 5.16.1 #246

Bump github.com/go-git/go-git/v5 from 5.16.0 to 5.16.1

Bump github.com/go-git/go-git/v5 from 5.16.0 to 5.16.1 #246

Workflow file for this run

name: Test and Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Run Go Tests
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v3
with:
go-version-file: 'go.mod'
- name: Get dependencies
run: go mod tidy
- name: Run tests
run: go test ./... -v
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v3
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
docker_build:
name: Build Docker Image
runs-on: ubuntu-latest
needs: test # No point building images if tests don't pass
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
- name: Build Docker image
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6
with:
context: .
push: false
tags: frizbee-action:latest