Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rekor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SafSec
rekor
Commits
a1109444
Unverified
Commit
a1109444
authored
4 years ago
by
Bob Callaway
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
make e2e step dependent on build
also make GOVERSION an environment variable
parent
b3ee72d4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/main.yml
+5
-3
5 additions, 3 deletions
.github/workflows/main.yml
with
5 additions
and
3 deletions
.github/workflows/main.yml
+
5
−
3
View file @
a1109444
# This is a basic workflow to help you get started with Actions
name
:
CI
env
:
GOVERSION
:
1.15.6
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
...
...
@@ -23,7 +25,7 @@ jobs:
# Setup Go
-
uses
:
actions/setup-go@v2
with
:
go-version
:
'
1.15.6'
go-version
:
${{ env.GOVERSION }}
# Download go-swagger
-
name
:
download go-swagger
run
:
go get -u github.com/go-swagger/go-swagger/cmd/swagger@master
...
...
@@ -55,7 +57,7 @@ jobs:
e2e
:
# The type of runner that the job will run on
runs-on
:
ubuntu-latest
needs
:
build
# Steps represent a sequence of tasks that will be executed as part of the job
steps
:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
...
...
@@ -66,6 +68,6 @@ jobs:
run
:
docker-compose up -d
-
uses
:
actions/setup-go@v2
with
:
go-version
:
'
1.15.6'
go-version
:
${{ env.GOVERSION }}
-
name
:
CLI
run
:
./tests/e2e-test.sh
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment