mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-14 18:40:26 +01:00
c54a5bef5f
* Bump golang from 1.22-alpine to 1.23-alpine Bumps golang from 1.22-alpine to 1.23-alpine. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Use Go 1.23 throughout * Update golangci-lint * Fix complaint raised by linter --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Frederik Ring <frederik.ring@gmail.com>
22 lines
395 B
YAML
22 lines
395 B
YAML
name: Run Unit Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '1.23.x'
|
|
- name: Install dependencies
|
|
run: go mod download
|
|
- name: Test with the Go CLI
|
|
run: go test -v ./...
|