diff --git a/.github/workflows/check-flake.yml b/.github/workflows/check-flake.yml index 11bfd385..52d378e4 100644 --- a/.github/workflows/check-flake.yml +++ b/.github/workflows/check-flake.yml @@ -1,19 +1,20 @@ name: Check Nix flake on: - pull_request: - paths: - - '**.nix' - - flake.lock - push: - branches: - - main + workflow_dispatch: + # pull_request: + # paths: + # - "**.nix" + # - flake.lock + # push: + # branches: + # - main jobs: check-flake: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@main - - uses: DeterminateSystems/magic-nix-cache-action@main + - uses: actions/checkout@v6 + - uses: DeterminateSystems/nix-installer-action@v22 + - uses: DeterminateSystems/magic-nix-cache-action@v13 - name: Check Nix flake inputs uses: DeterminateSystems/flake-checker-action@v5 with: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f1a1be64..81b0347f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -2,26 +2,26 @@ name: Test and Validate on: push: paths-ignore: - - '**.md' - - '.github/ISSUE_TEMPLATE/**' + - "**.md" + - ".github/ISSUE_TEMPLATE/**" pull_request: paths-ignore: - - '**.md' - - '.github/ISSUE_TEMPLATE/**' + - "**.md" + - ".github/ISSUE_TEMPLATE/**" jobs: build: name: Test runs-on: ubuntu-latest steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v6 + - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v6 with: go-version: ^1.18 - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - - name: Test run: make test @@ -31,14 +31,14 @@ jobs: name: Lint runs-on: ubuntu-latest steps: + - name: Check out code + uses: actions/checkout@v6 + - name: "Set up Go 1.x" - uses: actions/setup-go@v3 + uses: actions/setup-go@v6 with: go-version: 1.19 - - name: Check out code - uses: actions/checkout@v3 - - name: Lint with golanci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/update-flake-dependencies.yml b/.github/workflows/update-flake-dependencies.yml index 0bfc1225..0ab5638d 100644 --- a/.github/workflows/update-flake-dependencies.yml +++ b/.github/workflows/update-flake-dependencies.yml @@ -2,15 +2,15 @@ name: Update flake dependencies on: schedule: - - cron: '0 16 * * 5' + - cron: "0 16 * * 5" workflow_dispatch: # for allowing manual triggers of the workflow jobs: update-dependencies: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@main - - uses: DeterminateSystems/magic-nix-cache-action@main + - uses: actions/checkout@v6 + - uses: DeterminateSystems/nix-installer-action@v22 + - uses: DeterminateSystems/magic-nix-cache-action@v13 - name: Update flake.lock and create signed commit with flake.lock changes env: GITHUB_TOKEN: ${{ secrets.OP_BOT_TOKEN }}