Skip to content

Commit

Permalink
Temporarily use a different branch of cisagov/setup-env-github-action
Browse files Browse the repository at this point in the history
This is being done for testing purposes, and this commit can be
reverted (or removed) once cisagov/setup-env-github-action#65 is
merged.
  • Loading branch information
jsf9k committed Jul 12, 2023
1 parent fd04757 commit ddbf6f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: setup-env
uses: cisagov/setup-env-github-action@develop
uses: cisagov/setup-env-github-action@add-go-actions-for-go-skeleton
- uses: actions/checkout@v3
- id: setup-python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -64,18 +64,18 @@ jobs:
${{ env.BASE_CACHE_KEY }}
- name: Setup curl cache
run: mkdir -p ${{ env.CURL_CACHE_DIR }}
# Install go-critic, GoSec and staticcheck Go tools
# Install go-critic, GoSec and staticcheck Go tools
- name: Install go-critic
env:
PACKAGE_URL: github.com/go-critic/go-critic/cmd/gocritic
PACKAGE_VERSION: ${{ steps.setup-env.outputs.go-critic-version }}
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
- name: Install GoSec
- name: Install GoSec
env:
PACKAGE_URL: github.com/securego/gosec/v2/cmd/gosec
PACKAGE_VERSION: ${{ steps.setup-env.outputs.gosec-version }}
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
- name: Install staticcheck
- name: Install staticcheck
env:
PACKAGE_URL: dominikh/staticcheck-action
PACKAGE_VERSION: ${{ steps.setup-env.outputs.staticcheck-version }}
Expand Down

0 comments on commit ddbf6f7

Please sign in to comment.