chore(deps): update golang docker tag to v1.23 #259
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Docker build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: "0" | |
- name: Build image | |
run: make docker | |
env: | |
VERSION: test | |
- name: Run image | |
run: docker run --rm docker.io/vshn/signalilo:test --version | |
test_go_get: | |
# Only run `go get` tests on PRs with source branch in | |
# github.com/vshn/signalilo, as go get will fail for PRs whose source | |
# branch is in a fork. | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.19', '1.20' ] | |
name: Go install with Go ${{ matrix.go }} | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: go install -v github.com/vshn/signalilo@${{ github.head_ref }} | |
env: | |
GO111MODULE: on | |
GOPROXY: direct | |
- run: signalilo --version |