Skip to content

Commit

Permalink
lint github actions using zizmor
Browse files Browse the repository at this point in the history
  • Loading branch information
ubergesundheit committed Jan 20, 2025
1 parent cf94f05 commit 0db86bd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: build-prs

permissions: {}

on: pull_request
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.23"
check-latest: true
cache: true

Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/tweet-datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@ on:
schedule:
- cron: '0 16-21/2 * * *'
workflow_dispatch: {}

permissions: {}

jobs:
scrape-and-tweet:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.23"
check-latest: true
cache: true

Expand Down

0 comments on commit 0db86bd

Please sign in to comment.