Skip to content

Refactor to new actions. #22

Refactor to new actions.

Refactor to new actions. #22

Workflow file for this run

name: Commit Workflow
on:
push:
workflow_dispatch:
jobs:
no-tty-in-ci:
name: Ensure no TTY if user does not need to input anything
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Commands
run: |
set -x
date
pwd
whoami
make deps build
ls -lah bin/launchr
./bin/launchr keyring:login --url=http://***.git --username="***" --password="***" --keyring-passphrase="***"
commands-ok:
name: Ensure main commands do not fail
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Commands
run: |
set -x
date
pwd
whoami
make deps build
ls -lah bin/launchr
./bin/launchr keyring:set vaultpass "***" --keyring-passphrase "***"
ls -lah .launchr/keyring.yaml.age
./bin/launchr keyring:unset vaultpass --keyring-passphrase "***"
ls -lah .launchr/keyring.yaml.age
go-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Commands
run: |
set -x
date
pwd
whoami
make lint
go-tests:
name: Run Go tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Commands
run: |
set -x
date
pwd
whoami
make test