Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Sep 27, 2024
1 parent bf6a970 commit 5ab9246
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,20 @@
name: Go
name: Build

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22.3']

go-version: ['1.23.1']
steps:
- uses: actions/checkout@v4
- name: Clone private module
uses: actions/checkout@v4
with:
repository: dnstapir/tapir
ssh-key: ${{ secrets.TAPIR_REPO_SSH_PRIVATE_KEY }}
path: tapir
- name: Update path to private module
run: sed -i.old "s,\.\./tapir,./tapir,g" go.mod
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Install dependencies
run: go mod download
- name: Make version
run: make version.go
- name: Vet
run: go vet -v
- name: Test
run: go test -v
- name: Build
run: go build -v
run: make build

0 comments on commit 5ab9246

Please sign in to comment.