Skip to content

Commit

Permalink
use sha instead of version
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkruger committed Dec 3, 2024
1 parent d50fcea commit badef94
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ name: Test and Generate Docs
on: pull_request

jobs:
Run_Go_Tests:
go-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
with:
python-version: '3.x'

Expand All @@ -26,21 +26,21 @@ jobs:
run: pre-commit run --all-files

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version: 1.22
go-version-file: go.mod

- name: Install dependencies
run: go mod tidy

- name: Run tests
run: go test ./... -coverprofile=coverage.out

Run_E2E_Tests:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: Find LaunchDarkly feature flags in diff
uses: ./ # Uses an action in the root directory
id: find-flags
Expand Down Expand Up @@ -81,17 +81,17 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}

Generate_Docs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
with:
python-version: '3.x'

- name: Install pre-commit
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit badef94

Please sign in to comment.