Add endpoint info methods #83
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: main | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
container: ghcr.io/tiiuae/fog-ros-baseimage-builder:sha-7fca749 | |
env: | |
GOFLAGS: -buildvcs=false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install additional tools and libraries | |
run: | | |
apt-get update | |
apt-get install -y \ | |
make \ | |
ros-humble-action-msgs \ | |
ros-humble-example-interfaces \ | |
ros-humble-test-msgs | |
- name: Run tests | |
run: make test | |
run-linter: | |
runs-on: ubuntu-latest | |
container: ghcr.io/tiiuae/fog-ros-baseimage-builder:sha-7fca749 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare environment | |
shell: bash | |
run: | | |
apt-get update | |
apt-get install -y \ | |
ros-humble-action-msgs \ | |
ros-humble-example-interfaces \ | |
ros-humble-test-msgs | |
env > "$GITHUB_ENV" | |
- uses: golangci/golangci-lint-action@v3 |