Update inx-app to 5c85b6d16701 #228
Workflow file for this run
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: Build | |
on: | |
pull_request | |
jobs: | |
build: | |
name: Go | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
cache: false | |
id: go | |
- name: Print Go version | |
run: go version | |
- name: Build | |
run: go build -v . | |
- name: Test | |
run: go test ./... | |
build_docker: | |
name: Docker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Build Docker image | |
run: docker build . --file Dockerfile --tag inx-mqtt:latest |