Skip to content

Commit d13d13c

Browse files
authored
update tooling (#1217)
* update infra Signed-off-by: Evan Baker <[email protected]> * add stale action Signed-off-by: Evan Baker <[email protected]>
1 parent 487b0a4 commit d13d13c

File tree

6 files changed

+51
-72
lines changed

6 files changed

+51
-72
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/
1010

1111
# [Optional] Uncomment this section to install additional OS packages.
1212
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
13-
&& apt-get -y install --no-install-recommends podman buildah skopeo
13+
&& apt-get -y install --no-install-recommends podman buildah skopeo vim fzf ripgrep
1414

1515
# [Optional] Uncomment the next line to use go get to install anything else you need
1616
# RUN go get -x <your-dependency-or-tool>
File renamed without changes.

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.github/workflows/codeql.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "CodeQL"
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
jobs:
9+
analyze:
10+
name: Analyze
11+
runs-on: ubuntu-latest
12+
permissions:
13+
actions: read
14+
contents: read
15+
security-events: write
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
language: [ 'go' ]
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v2
23+
- name: Initialize CodeQL
24+
uses: github/codeql-action/init@v1
25+
with:
26+
languages: ${{ matrix.language }}
27+
- name: Autobuild
28+
uses: github/codeql-action/autobuild@v1
29+
- name: Perform CodeQL Analysis
30+
uses: github/codeql-action/analyze@v1

.github/workflows/repo-hygiene.yaml renamed to .github/workflows/golangci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
- name: golangci-lint
1818
uses: golangci/golangci-lint-action@v2
1919
with:
20-
version: v1.43
20+
version: v1.44
2121
args: --timeout=5m
2222
only-new-issues: true

.github/workflows/stale.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'Stale issue handler'
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@main
12+
id: stale
13+
with:
14+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'
15+
days-before-stale: 30
16+
days-before-close: 5
17+
exempt-issue-labels: 'blocked,must,should,keep'
18+
- name: Print outputs
19+
run: echo ${{ join(steps.stale.outputs.*, ',') }}

0 commit comments

Comments
 (0)