Adapt inx-mqtt to iota 2.0 #145
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: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
id: go | |
- name: Print Go version | |
run: go version | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Build | |
run: go build -v . | |
build_docker: | |
name: Docker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Build Docker image | |
run: docker build . --file Dockerfile --tag inx-mqtt:latest |