diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..3adb1db84a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: sk-test + +on: + push: + branches: + - sk-test + tags: + - v*.*.*-sk + pull_request: {} + workflow_dispatch: {} + +env: + # Common versions + GO_VERSION: '1.18' + GOLANGCI_VERSION: 'v1.47.1' + DOCKER_BUILDX_VERSION: 'v0.8.2' + + # Common users. We can't run a step 'if secrets.AWS_USR != ""' but we can run + # a step 'if env.AWS_USR' != ""', so we copy these to succinctly test whether + # credentials have been provided before trying to run steps that need them. + DOCKER_USR: ${{ github.actor }} + +jobs: + get-tags: + runs-on: ubuntu-20.04 + steps: + - name: Print Tags + run: | + echo "${GITHUB_REF}" \ No newline at end of file